leetcode.cn 2026-03-30
🟡2840.check-if-strings-can-be-made-equal-with-operations-ii
🏷️ Tags
#hash_table #string #sorting
🟡2840.check-if-strings-can-be-made-equal-with-operations-ii
🏷️ Tags
#hash_table #string #sorting
Telegraph
check-if-strings-can-be-made-equal-with-operations-ii
给你两个字符串 s1 和 s2 ,两个字符串长度都为 n ,且只包含 小写 英文字母。 你可以对两个字符串中的 任意一个 执行以下操作 任意 次:
leetcode.com 2026-03-30
🟡2840.check-if-strings-can-be-made-equal-with-operations-ii
🏷️ Tags
#hash_table #string #sorting
🟡2840.check-if-strings-can-be-made-equal-with-operations-ii
🏷️ Tags
#hash_table #string #sorting
Telegraph
check-if-strings-can-be-made-equal-with-operations-ii
You are given two strings s1 and s2, both of length n, consisting of lowercase English letters. You can apply the following operation on any of the two strings any number of times:
leetcode.cn 2026-03-31
🔴3474.lexicographically-smallest-generated-string
🏷️ Tags
#greedy #string #string_matching
🔴3474.lexicographically-smallest-generated-string
🏷️ Tags
#greedy #string #string_matching
Telegraph
lexicographically-smallest-generated-string
给你两个字符串,str1 和 str2,其长度分别为 n 和 m 。
leetcode.com 2026-03-31
🔴3474.lexicographically-smallest-generated-string
🏷️ Tags
#greedy #string #string_matching
🔴3474.lexicographically-smallest-generated-string
🏷️ Tags
#greedy #string #string_matching
Telegraph
lexicographically-smallest-generated-string
You are given two strings, str1 and str2, of lengths n and m, respectively. A string word of length n + m - 1 is defined to be generated by str1 and str2 if it satisfies the following conditions for each index 0 <= i <= n - 1:
leetcode.cn 2026-04-12
🔴1320.minimum-distance-to-type-a-word-using-two-fingers
🏷️ Tags
#string #dynamic_programming
🔴1320.minimum-distance-to-type-a-word-using-two-fingers
🏷️ Tags
#string #dynamic_programming
Telegraph
minimum-distance-to-type-a-word-using-two-fingers
二指输入法定制键盘在 X-Y 平面上的布局如上图所示,其中每个大写英文字母都位于某个坐标处。
leetcode.com 2026-04-12
🔴1320.minimum-distance-to-type-a-word-using-two-fingers
🏷️ Tags
#string #dynamic_programming
🔴1320.minimum-distance-to-type-a-word-using-two-fingers
🏷️ Tags
#string #dynamic_programming
Telegraph
minimum-distance-to-type-a-word-using-two-fingers
You have a keyboard layout as shown above in the X-Y plane, where each English uppercase letter is located at some coordinate.
leetcode.cn 2026-04-15
🟢2515.shortest-distance-to-target-string-in-a-circular-array
🏷️ Tags
#array #string
🟢2515.shortest-distance-to-target-string-in-a-circular-array
🏷️ Tags
#array #string
Telegraph
shortest-distance-to-target-string-in-a-circular-array
给你一个下标从 0 开始的 环形 字符串数组 words 和一个字符串 target 。环形数组 意味着数组首尾相连。
leetcode.com 2026-04-15
🟢2515.shortest-distance-to-target-string-in-a-circular-array
🏷️ Tags
#array #string
🟢2515.shortest-distance-to-target-string-in-a-circular-array
🏷️ Tags
#array #string
Telegraph
shortest-distance-to-target-string-in-a-circular-array
You are given a 0-indexed circular string array words and a string target. A circular array means that the array's end connects to the array's beginning.