leetcode.cn 2026-03-14
🟡1415.the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
🏷️ Tags
#string #backtracking
🟡1415.the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
🏷️ Tags
#string #backtracking
Telegraph
the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
一个 「开心字符串」定义为:
leetcode.com 2026-03-14
🟡1415.the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
🏷️ Tags
#string #backtracking
🟡1415.the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
🏷️ Tags
#string #backtracking
Telegraph
the-k-th-lexicographical-string-of-all-happy-strings-of-length-n
A happy string is a string that:
leetcode.cn 2026-03-28
🔴2573.find-the-string-with-lcp
🏷️ Tags
#greedy #union_find #array #string #dynamic_programming #matrix
🔴2573.find-the-string-with-lcp
🏷️ Tags
#greedy #union_find #array #string #dynamic_programming #matrix
Telegraph
find-the-string-with-lcp
对任一由 n 个小写英文字母组成的字符串 word ,我们可以定义一个 n x n 的矩阵,并满足:
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.