Hongjje DevLeetcode Solution — 648. Replace WordsIt’s a matter of replacing it with a short word in the dictionary. It can be solved using Trie. The time complexity is O(n).2 min read·12 hours ago----
Hongjje DevLeetcode Solution — 846. Hand of StraightsIt’s a question of whether you can make groups with consecutive numbers. It can be solved using hash and greedy. The time complexity is…2 min read·1 day ago----
Hongjje DevLeetcode Solution — 1002. Find Common CharactersIt is a problem of finding common characters in words. It can be solved using hash. The time complexity is O(nm).1 min read·2 days ago----
Hongjje DevLeetcode Solution — 409. Longest PalindromeIt is a problem of finding the longest palindromic length by rearranging the strings. If you know the frequency, you can find the length…1 min read·3 days ago----
Hongjje DevLeetcode Solution — 2486. Append Characters to String to Make SubsequenceIt is a problem of finding the number of characters added to make s into t. Find the character that matches greedy first. The time…1 min read·4 days ago----
Hongjje DevLeetcode Solution — 344. Reverse StringIt’s a matter of flipping a string. It can be solved using two pointers. The time complexity is O(n).1 min read·5 days ago----
Hongjje DevLeetcode Solution — 1940. Longest Common Subsequence Between Sorted ArraysIt is a problem of finding a common incremental sequence among ordered arrays. It can be solved using counting and hash. The time…1 min read·6 days ago----
Hongjje DevLeetcode Solution — 3110. Score of a StringIt is a problem of finding the sum of the differences in adjacent characters. You can simulate it. The time complexity is O(n).1 min read·6 days ago----
Hongjje DevLeetcode Solution — 260. Single Number IIIIt is a problem of obtaining two numbers with only one number in the array. It can be solved using the characteristics of XOR. The time…2 min read·May 31, 2024----
Hongjje DevLeetcode Solution — 1442. Count Triplets That Can Form Two Arrays of Equal XORIt is a problem of obtaining the same number of two values that operate XOR. It can be solved using dynamic programming. The time…1 min read·May 30, 2024----