Back to Leetcode Go

2.02 String

website/content/ChapterTwo/String.md

1.7.124.1 KB
Original Source

String

No.TitleSolutionDifficultyTimeComplexitySpaceComplexityFavoriteAcceptance
0003Longest Substring Without Repeating Characters[Go]({{< relref "/ChapterFour/0001~0099/0003.Longest-Substring-Without-Repeating-Characters.md" >}})MediumO(n)O(1)❤️33.8%
0005Longest Palindromic Substring[Go]({{< relref "/ChapterFour/0001~0099/0005.Longest-Palindromic-Substring.md" >}})Medium32.4%
0006Zigzag Conversion[Go]({{< relref "/ChapterFour/0001~0099/0006.Zigzag-Conversion.md" >}})Medium44.8%
0008String to Integer (atoi)[Go]({{< relref "/ChapterFour/0001~0099/0008.String-to-Integer-atoi.md" >}})Medium16.6%
0012Integer to Roman[Go]({{< relref "/ChapterFour/0001~0099/0012.Integer-to-Roman.md" >}})Medium62.0%
0013Roman to Integer[Go]({{< relref "/ChapterFour/0001~0099/0013.Roman-to-Integer.md" >}})Easy58.5%
0014Longest Common Prefix[Go]({{< relref "/ChapterFour/0001~0099/0014.Longest-Common-Prefix.md" >}})Easy40.9%
0017Letter Combinations of a Phone Number[Go]({{< relref "/ChapterFour/0001~0099/0017.Letter-Combinations-of-a-Phone-Number.md" >}})MediumO(log n)O(1)56.5%
0020Valid Parentheses[Go]({{< relref "/ChapterFour/0001~0099/0020.Valid-Parentheses.md" >}})EasyO(log n)O(1)40.2%
0022Generate Parentheses[Go]({{< relref "/ChapterFour/0001~0099/0022.Generate-Parentheses.md" >}})MediumO(log n)O(1)72.5%
0028Find the Index of the First Occurrence in a String[Go]({{< relref "/ChapterFour/0001~0099/0028.Find-the-Index-of-the-First-Occurrence-in-a-String.md" >}})EasyO(n)O(1)39.0%
0030Substring with Concatenation of All Words[Go]({{< relref "/ChapterFour/0001~0099/0030.Substring-with-Concatenation-of-All-Words.md" >}})HardO(n)O(n)❤️31.2%
0032Longest Valid Parentheses[Go]({{< relref "/ChapterFour/0001~0099/0032.Longest-Valid-Parentheses.md" >}})Hard32.8%
0043Multiply Strings[Go]({{< relref "/ChapterFour/0001~0099/0043.Multiply-Strings.md" >}})Medium39.2%
0049Group Anagrams[Go]({{< relref "/ChapterFour/0001~0099/0049.Group-Anagrams.md" >}})MediumO(n log n)O(n)66.7%
0058Length of Last Word[Go]({{< relref "/ChapterFour/0001~0099/0058.Length-of-Last-Word.md" >}})Easy42.8%
0065Valid Number[Go]({{< relref "/ChapterFour/0001~0099/0065.Valid-Number.md" >}})Hard18.7%
0067Add Binary[Go]({{< relref "/ChapterFour/0001~0099/0067.Add-Binary.md" >}})Easy52.4%
0071Simplify Path[Go]({{< relref "/ChapterFour/0001~0099/0071.Simplify-Path.md" >}})MediumO(n)O(n)39.3%
0076Minimum Window Substring[Go]({{< relref "/ChapterFour/0001~0099/0076.Minimum-Window-Substring.md" >}})HardO(n)O(n)❤️40.9%
0091Decode Ways[Go]({{< relref "/ChapterFour/0001~0099/0091.Decode-Ways.md" >}})MediumO(n)O(n)32.7%
0093Restore IP Addresses[Go]({{< relref "/ChapterFour/0001~0099/0093.Restore-IP-Addresses.md" >}})MediumO(n)O(n)❤️47.4%
0097Interleaving String[Go]({{< relref "/ChapterFour/0001~0099/0097.Interleaving-String.md" >}})Medium37.3%
0115Distinct Subsequences[Go]({{< relref "/ChapterFour/0100~0199/0115.Distinct-Subsequences.md" >}})Hard44.4%
0125Valid Palindrome[Go]({{< relref "/ChapterFour/0100~0199/0125.Valid-Palindrome.md" >}})EasyO(n)O(1)44.3%
0126Word Ladder II[Go]({{< relref "/ChapterFour/0100~0199/0126.Word-Ladder-II.md" >}})HardO(n)O(n^2)❤️27.5%
0127Word Ladder[Go]({{< relref "/ChapterFour/0100~0199/0127.Word-Ladder.md" >}})Hard37.1%
0131Palindrome Partitioning[Go]({{< relref "/ChapterFour/0100~0199/0131.Palindrome-Partitioning.md" >}})Medium64.8%
0151Reverse Words in a String[Go]({{< relref "/ChapterFour/0100~0199/0151.Reverse-Words-in-a-String.md" >}})Medium32.7%
0168Excel Sheet Column Title[Go]({{< relref "/ChapterFour/0100~0199/0168.Excel-Sheet-Column-Title.md" >}})Easy35.5%
0171Excel Sheet Column Number[Go]({{< relref "/ChapterFour/0100~0199/0171.Excel-Sheet-Column-Number.md" >}})Easy62.0%
0179Largest Number[Go]({{< relref "/ChapterFour/0100~0199/0179.Largest-Number.md" >}})Medium34.5%
0187Repeated DNA Sequences[Go]({{< relref "/ChapterFour/0100~0199/0187.Repeated-DNA-Sequences.md" >}})Medium46.9%
0205Isomorphic Strings[Go]({{< relref "/ChapterFour/0200~0299/0205.Isomorphic-Strings.md" >}})Easy42.9%
0208Implement Trie (Prefix Tree)[Go]({{< relref "/ChapterFour/0200~0299/0208.Implement-Trie-Prefix-Tree.md" >}})Medium62.7%
0211Design Add and Search Words Data Structure[Go]({{< relref "/ChapterFour/0200~0299/0211.Design-Add-and-Search-Words-Data-Structure.md" >}})Medium44.0%
0212Word Search II[Go]({{< relref "/ChapterFour/0200~0299/0212.Word-Search-II.md" >}})Hard36.4%
0224Basic Calculator[Go]({{< relref "/ChapterFour/0200~0299/0224.Basic-Calculator.md" >}})Hard42.4%
0227Basic Calculator II[Go]({{< relref "/ChapterFour/0200~0299/0227.Basic-Calculator-II.md" >}})Medium42.4%
0242Valid Anagram[Go]({{< relref "/ChapterFour/0200~0299/0242.Valid-Anagram.md" >}})Easy63.0%
0257Binary Tree Paths[Go]({{< relref "/ChapterFour/0200~0299/0257.Binary-Tree-Paths.md" >}})Easy61.4%
0290Word Pattern[Go]({{< relref "/ChapterFour/0200~0299/0290.Word-Pattern.md" >}})Easy41.7%
0297Serialize and Deserialize Binary Tree[Go]({{< relref "/ChapterFour/0200~0299/0297.Serialize-and-Deserialize-Binary-Tree.md" >}})Hard55.4%
0299Bulls and Cows[Go]({{< relref "/ChapterFour/0200~0299/0299.Bulls-and-Cows.md" >}})Medium49.4%
0301Remove Invalid Parentheses[Go]({{< relref "/ChapterFour/0300~0399/0301.Remove-Invalid-Parentheses.md" >}})Hard47.2%
0306Additive Number[Go]({{< relref "/ChapterFour/0300~0399/0306.Additive-Number.md" >}})Medium31.1%
0318Maximum Product of Word Lengths[Go]({{< relref "/ChapterFour/0300~0399/0318.Maximum-Product-of-Word-Lengths.md" >}})Medium59.9%
0331Verify Preorder Serialization of a Binary Tree[Go]({{< relref "/ChapterFour/0300~0399/0331.Verify-Preorder-Serialization-of-a-Binary-Tree.md" >}})Medium44.6%
0344Reverse String[Go]({{< relref "/ChapterFour/0300~0399/0344.Reverse-String.md" >}})EasyO(n)O(1)76.7%
0345Reverse Vowels of a String[Go]({{< relref "/ChapterFour/0300~0399/0345.Reverse-Vowels-of-a-String.md" >}})EasyO(n)O(1)50.1%
0383Ransom Note[Go]({{< relref "/ChapterFour/0300~0399/0383.Ransom-Note.md" >}})Easy58.2%
0385Mini Parser[Go]({{< relref "/ChapterFour/0300~0399/0385.Mini-Parser.md" >}})Medium36.9%
0387First Unique Character in a String[Go]({{< relref "/ChapterFour/0300~0399/0387.First-Unique-Character-in-a-String.md" >}})Easy59.6%
0389Find the Difference[Go]({{< relref "/ChapterFour/0300~0399/0389.Find-the-Difference.md" >}})Easy59.9%
0392Is Subsequence[Go]({{< relref "/ChapterFour/0300~0399/0392.Is-Subsequence.md" >}})Easy47.6%
0394Decode String[Go]({{< relref "/ChapterFour/0300~0399/0394.Decode-String.md" >}})Medium57.9%
0395Longest Substring with At Least K Repeating Characters[Go]({{< relref "/ChapterFour/0300~0399/0395.Longest-Substring-with-At-Least-K-Repeating-Characters.md" >}})Medium44.8%
0402Remove K Digits[Go]({{< relref "/ChapterFour/0400~0499/0402.Remove-K-Digits.md" >}})Medium30.6%
0409Longest Palindrome[Go]({{< relref "/ChapterFour/0400~0499/0409.Longest-Palindrome.md" >}})Easy54.2%
0412Fizz Buzz[Go]({{< relref "/ChapterFour/0400~0499/0412.Fizz-Buzz.md" >}})Easy69.9%
0423Reconstruct Original Digits from English[Go]({{< relref "/ChapterFour/0400~0499/0423.Reconstruct-Original-Digits-from-English.md" >}})Medium51.3%
0424Longest Repeating Character Replacement[Go]({{< relref "/ChapterFour/0400~0499/0424.Longest-Repeating-Character-Replacement.md" >}})Medium51.9%
0433Minimum Genetic Mutation[Go]({{< relref "/ChapterFour/0400~0499/0433.Minimum-Genetic-Mutation.md" >}})Medium52.3%
0434Number of Segments in a String[Go]({{< relref "/ChapterFour/0400~0499/0434.Number-of-Segments-in-a-String.md" >}})Easy37.2%
0438Find All Anagrams in a String[Go]({{< relref "/ChapterFour/0400~0499/0438.Find-All-Anagrams-in-a-String.md" >}})Medium50.2%
0451Sort Characters By Frequency[Go]({{< relref "/ChapterFour/0400~0499/0451.Sort-Characters-By-Frequency.md" >}})Medium70.1%
0474Ones and Zeroes[Go]({{< relref "/ChapterFour/0400~0499/0474.Ones-and-Zeroes.md" >}})Medium46.8%
0488Zuma Game[Go]({{< relref "/ChapterFour/0400~0499/0488.Zuma-Game.md" >}})Hard33.9%
0500Keyboard Row[Go]({{< relref "/ChapterFour/0500~0599/0500.Keyboard-Row.md" >}})Easy69.5%
0520Detect Capital[Go]({{< relref "/ChapterFour/0500~0599/0520.Detect-Capital.md" >}})Easy57.0%
0524Longest Word in Dictionary through Deleting[Go]({{< relref "/ChapterFour/0500~0599/0524.Longest-Word-in-Dictionary-through-Deleting.md" >}})Medium51.0%
0535Encode and Decode TinyURL[Go]({{< relref "/ChapterFour/0500~0599/0535.Encode-and-Decode-TinyURL.md" >}})Medium85.9%
0537Complex Number Multiplication[Go]({{< relref "/ChapterFour/0500~0599/0537.Complex-Number-Multiplication.md" >}})Medium71.4%
0541Reverse String II[Go]({{< relref "/ChapterFour/0500~0599/0541.Reverse-String-II.md" >}})Easy50.5%
0551Student Attendance Record I[Go]({{< relref "/ChapterFour/0500~0599/0551.Student-Attendance-Record-I.md" >}})Easy48.2%
0557Reverse Words in a String III[Go]({{< relref "/ChapterFour/0500~0599/0557.Reverse-Words-in-a-String-III.md" >}})Easy81.9%
0567Permutation in String[Go]({{< relref "/ChapterFour/0500~0599/0567.Permutation-in-String.md" >}})Medium44.3%
0583Delete Operation for Two Strings[Go]({{< relref "/ChapterFour/0500~0599/0583.Delete-Operation-for-Two-Strings.md" >}})Medium59.8%
0599Minimum Index Sum of Two Lists[Go]({{< relref "/ChapterFour/0500~0599/0599.Minimum-Index-Sum-of-Two-Lists.md" >}})Easy53.4%
0609Find Duplicate File in System[Go]({{< relref "/ChapterFour/0600~0699/0609.Find-Duplicate-File-in-System.md" >}})Medium67.7%
0647Palindromic Substrings[Go]({{< relref "/ChapterFour/0600~0699/0647.Palindromic-Substrings.md" >}})Medium66.8%
0648Replace Words[Go]({{< relref "/ChapterFour/0600~0699/0648.Replace-Words.md" >}})Medium62.7%
0676Implement Magic Dictionary[Go]({{< relref "/ChapterFour/0600~0699/0676.Implement-Magic-Dictionary.md" >}})Medium57.0%
0677Map Sum Pairs[Go]({{< relref "/ChapterFour/0600~0699/0677.Map-Sum-Pairs.md" >}})Medium56.8%
0692Top K Frequent Words[Go]({{< relref "/ChapterFour/0600~0699/0692.Top-K-Frequent-Words.md" >}})Medium57.2%
0696Count Binary Substrings[Go]({{< relref "/ChapterFour/0600~0699/0696.Count-Binary-Substrings.md" >}})Easy65.5%
0709To Lower Case[Go]({{< relref "/ChapterFour/0700~0799/0709.To-Lower-Case.md" >}})Easy82.4%
0720Longest Word in Dictionary[Go]({{< relref "/ChapterFour/0700~0799/0720.Longest-Word-in-Dictionary.md" >}})Medium52.0%
0721Accounts Merge[Go]({{< relref "/ChapterFour/0700~0799/0721.Accounts-Merge.md" >}})Medium56.3%
0726Number of Atoms[Go]({{< relref "/ChapterFour/0700~0799/0726.Number-of-Atoms.md" >}})Hard52.1%
0745Prefix and Suffix Search[Go]({{< relref "/ChapterFour/0700~0799/0745.Prefix-and-Suffix-Search.md" >}})Hard41.2%
0748Shortest Completing Word[Go]({{< relref "/ChapterFour/0700~0799/0748.Shortest-Completing-Word.md" >}})Easy59.3%
0752Open the Lock[Go]({{< relref "/ChapterFour/0700~0799/0752.Open-the-Lock.md" >}})Medium55.6%
0763Partition Labels[Go]({{< relref "/ChapterFour/0700~0799/0763.Partition-Labels.md" >}})Medium79.7%
0767Reorganize String[Go]({{< relref "/ChapterFour/0700~0799/0767.Reorganize-String.md" >}})MediumO(n log n)O(log n)❤️52.9%
0771Jewels and Stones[Go]({{< relref "/ChapterFour/0700~0799/0771.Jewels-and-Stones.md" >}})Easy88.2%
0784Letter Case Permutation[Go]({{< relref "/ChapterFour/0700~0799/0784.Letter-Case-Permutation.md" >}})Medium73.8%
0791Custom Sort String[Go]({{< relref "/ChapterFour/0700~0799/0791.Custom-Sort-String.md" >}})Medium69.1%
0792Number of Matching Subsequences[Go]({{< relref "/ChapterFour/0700~0799/0792.Number-of-Matching-Subsequences.md" >}})Medium51.6%
0794Valid Tic-Tac-Toe State[Go]({{< relref "/ChapterFour/0700~0799/0794.Valid-Tic-Tac-Toe-State.md" >}})Medium35.1%
0811Subdomain Visit Count[Go]({{< relref "/ChapterFour/0800~0899/0811.Subdomain-Visit-Count.md" >}})Medium75.5%
0816Ambiguous Coordinates[Go]({{< relref "/ChapterFour/0800~0899/0816.Ambiguous-Coordinates.md" >}})Medium56.3%
0819Most Common Word[Go]({{< relref "/ChapterFour/0800~0899/0819.Most-Common-Word.md" >}})Easy44.8%
0820Short Encoding of Words[Go]({{< relref "/ChapterFour/0800~0899/0820.Short-Encoding-of-Words.md" >}})Medium60.6%
0821Shortest Distance to a Character[Go]({{< relref "/ChapterFour/0800~0899/0821.Shortest-Distance-to-a-Character.md" >}})Easy71.3%
0828Count Unique Characters of All Substrings of a Given String[Go]({{< relref "/ChapterFour/0800~0899/0828.Count-Unique-Characters-of-All-Substrings-of-a-Given-String.md" >}})Hard51.6%
0830Positions of Large Groups[Go]({{< relref "/ChapterFour/0800~0899/0830.Positions-of-Large-Groups.md" >}})Easy51.8%
0838Push Dominoes[Go]({{< relref "/ChapterFour/0800~0899/0838.Push-Dominoes.md" >}})Medium57.0%
0839Similar String Groups[Go]({{< relref "/ChapterFour/0800~0899/0839.Similar-String-Groups.md" >}})Hard48.0%
0842Split Array into Fibonacci Sequence[Go]({{< relref "/ChapterFour/0800~0899/0842.Split-Array-into-Fibonacci-Sequence.md" >}})MediumO(n^2)O(1)❤️38.4%
0844Backspace String Compare[Go]({{< relref "/ChapterFour/0800~0899/0844.Backspace-String-Compare.md" >}})Easy48.1%
0856Score of Parentheses[Go]({{< relref "/ChapterFour/0800~0899/0856.Score-of-Parentheses.md" >}})MediumO(n)O(n)64.8%
0859Buddy Strings[Go]({{< relref "/ChapterFour/0800~0899/0859.Buddy-Strings.md" >}})Easy29.2%
0880Decoded String at Index[Go]({{< relref "/ChapterFour/0800~0899/0880.Decoded-String-at-Index.md" >}})Medium28.3%
0884Uncommon Words from Two Sentences[Go]({{< relref "/ChapterFour/0800~0899/0884.Uncommon-Words-from-Two-Sentences.md" >}})Easy66.3%
0890Find and Replace Pattern[Go]({{< relref "/ChapterFour/0800~0899/0890.Find-and-Replace-Pattern.md" >}})Medium77.6%
0916Word Subsets[Go]({{< relref "/ChapterFour/0900~0999/0916.Word-Subsets.md" >}})Medium53.7%
0921Minimum Add to Make Parentheses Valid[Go]({{< relref "/ChapterFour/0900~0999/0921.Minimum-Add-to-Make-Parentheses-Valid.md" >}})Medium75.8%
0925Long Pressed Name[Go]({{< relref "/ChapterFour/0900~0999/0925.Long-Pressed-Name.md" >}})EasyO(n)O(1)33.1%
0942DI String Match[Go]({{< relref "/ChapterFour/0900~0999/0942.DI-String-Match.md" >}})Easy77.3%
0949Largest Time for Given Digits[Go]({{< relref "/ChapterFour/0900~0999/0949.Largest-Time-for-Given-Digits.md" >}})Medium35.2%
0953Verifying an Alien Dictionary[Go]({{< relref "/ChapterFour/0900~0999/0953.Verifying-an-Alien-Dictionary.md" >}})Easy54.5%
0966Vowel Spellchecker[Go]({{< relref "/ChapterFour/0900~0999/0966.Vowel-Spellchecker.md" >}})Medium51.4%
0981Time Based Key-Value Store[Go]({{< relref "/ChapterFour/0900~0999/0981.Time-Based-Key-Value-Store.md" >}})Medium52.3%
0984String Without AAA or BBB[Go]({{< relref "/ChapterFour/0900~0999/0984.String-Without-AAA-or-BBB.md" >}})Medium43.1%
0990Satisfiability of Equality Equations[Go]({{< relref "/ChapterFour/0900~0999/0990.Satisfiability-of-Equality-Equations.md" >}})Medium50.5%
1002Find Common Characters[Go]({{< relref "/ChapterFour/1000~1099/1002.Find-Common-Characters.md" >}})Easy68.5%
1003Check If Word Is Valid After Substitutions[Go]({{< relref "/ChapterFour/1000~1099/1003.Check-If-Word-Is-Valid-After-Substitutions.md" >}})MediumO(n)O(1)58.2%
1021Remove Outermost Parentheses[Go]({{< relref "/ChapterFour/1000~1099/1021.Remove-Outermost-Parentheses.md" >}})Easy80.6%
1028Recover a Tree From Preorder Traversal[Go]({{< relref "/ChapterFour/1000~1099/1028.Recover-a-Tree-From-Preorder-Traversal.md" >}})Hard73.3%
1047Remove All Adjacent Duplicates In String[Go]({{< relref "/ChapterFour/1000~1099/1047.Remove-All-Adjacent-Duplicates-In-String.md" >}})Easy69.7%
1048Longest String Chain[Go]({{< relref "/ChapterFour/1000~1099/1048.Longest-String-Chain.md" >}})Medium59.2%
1078Occurrences After Bigram[Go]({{< relref "/ChapterFour/1000~1099/1078.Occurrences-After-Bigram.md" >}})Easy63.6%
1079Letter Tile Possibilities[Go]({{< relref "/ChapterFour/1000~1099/1079.Letter-Tile-Possibilities.md" >}})Medium76.0%
1108Defanging an IP Address[Go]({{< relref "/ChapterFour/1100~1199/1108.Defanging-an-IP-Address.md" >}})Easy89.1%
1111Maximum Nesting Depth of Two Valid Parentheses Strings[Go]({{< relref "/ChapterFour/1100~1199/1111.Maximum-Nesting-Depth-of-Two-Valid-Parentheses-Strings.md" >}})Medium73.0%
1143Longest Common Subsequence[Go]({{< relref "/ChapterFour/1100~1199/1143.Longest-Common-Subsequence.md" >}})Medium58.4%
1154Day of the Year[Go]({{< relref "/ChapterFour/1100~1199/1154.Day-of-the-Year.md" >}})Easy49.6%
1160Find Words That Can Be Formed by Characters[Go]({{< relref "/ChapterFour/1100~1199/1160.Find-Words-That-Can-Be-Formed-by-Characters.md" >}})Easy67.5%
1170Compare Strings by Frequency of the Smallest Character[Go]({{< relref "/ChapterFour/1100~1199/1170.Compare-Strings-by-Frequency-of-the-Smallest-Character.md" >}})Medium61.5%
1178Number of Valid Words for Each Puzzle[Go]({{< relref "/ChapterFour/1100~1199/1178.Number-of-Valid-Words-for-Each-Puzzle.md" >}})Hard46.3%
1189Maximum Number of Balloons[Go]({{< relref "/ChapterFour/1100~1199/1189.Maximum-Number-of-Balloons.md" >}})Easy61.0%
1190Reverse Substrings Between Each Pair of Parentheses[Go]({{< relref "/ChapterFour/1100~1199/1190.Reverse-Substrings-Between-Each-Pair-of-Parentheses.md" >}})Medium65.9%
1202Smallest String With Swaps[Go]({{< relref "/ChapterFour/1200~1299/1202.Smallest-String-With-Swaps.md" >}})Medium57.7%
1208Get Equal Substrings Within Budget[Go]({{< relref "/ChapterFour/1200~1299/1208.Get-Equal-Substrings-Within-Budget.md" >}})Medium48.5%
1209Remove All Adjacent Duplicates in String II[Go]({{< relref "/ChapterFour/1200~1299/1209.Remove-All-Adjacent-Duplicates-in-String-II.md" >}})Medium56.2%
1221Split a String in Balanced Strings[Go]({{< relref "/ChapterFour/1200~1299/1221.Split-a-String-in-Balanced-Strings.md" >}})Easy85.1%
1234Replace the Substring for Balanced String[Go]({{< relref "/ChapterFour/1200~1299/1234.Replace-the-Substring-for-Balanced-String.md" >}})Medium37.2%
1239Maximum Length of a Concatenated String with Unique Characters[Go]({{< relref "/ChapterFour/1200~1299/1239.Maximum-Length-of-a-Concatenated-String-with-Unique-Characters.md" >}})Medium52.2%
1249Minimum Remove to Make Valid Parentheses[Go]({{< relref "/ChapterFour/1200~1299/1249.Minimum-Remove-to-Make-Valid-Parentheses.md" >}})Medium65.8%
1268Search Suggestions System[Go]({{< relref "/ChapterFour/1200~1299/1268.Search-Suggestions-System.md" >}})Medium66.2%
1332Remove Palindromic Subsequences[Go]({{< relref "/ChapterFour/1300~1399/1332.Remove-Palindromic-Subsequences.md" >}})Easy76.2%
1396Design Underground System[Go]({{< relref "/ChapterFour/1300~1399/1396.Design-Underground-System.md" >}})Medium73.6%
1446Consecutive Characters[Go]({{< relref "/ChapterFour/1400~1499/1446.Consecutive-Characters.md" >}})Easy61.2%
1455Check If a Word Occurs As a Prefix of Any Word in a Sentence[Go]({{< relref "/ChapterFour/1400~1499/1455.Check-If-a-Word-Occurs-As-a-Prefix-of-Any-Word-in-a-Sentence.md" >}})Easy64.2%
1461Check If a String Contains All Binary Codes of Size K[Go]({{< relref "/ChapterFour/1400~1499/1461.Check-If-a-String-Contains-All-Binary-Codes-of-Size-K.md" >}})Medium56.6%
1573Number of Ways to Split a String[Go]({{< relref "/ChapterFour/1500~1599/1573.Number-of-Ways-to-Split-a-String.md" >}})Medium32.5%
1576Replace All ?'s to Avoid Consecutive Repeating Characters[Go]({{< relref "/ChapterFour/1500~1599/1576.Replace-All-s-to-Avoid-Consecutive-Repeating-Characters.md" >}})Easy48.3%
1614Maximum Nesting Depth of the Parentheses[Go]({{< relref "/ChapterFour/1600~1699/1614.Maximum-Nesting-Depth-of-the-Parentheses.md" >}})Easy82.3%
1624Largest Substring Between Two Equal Characters[Go]({{< relref "/ChapterFour/1600~1699/1624.Largest-Substring-Between-Two-Equal-Characters.md" >}})Easy59.1%
1629Slowest Key[Go]({{< relref "/ChapterFour/1600~1699/1629.Slowest-Key.md" >}})Easy59.2%
1647Minimum Deletions to Make Character Frequencies Unique[Go]({{< relref "/ChapterFour/1600~1699/1647.Minimum-Deletions-to-Make-Character-Frequencies-Unique.md" >}})Medium59.1%
1653Minimum Deletions to Make String Balanced[Go]({{< relref "/ChapterFour/1600~1699/1653.Minimum-Deletions-to-Make-String-Balanced.md" >}})Medium58.9%
1657Determine if Two Strings Are Close[Go]({{< relref "/ChapterFour/1600~1699/1657.Determine-if-Two-Strings-Are-Close.md" >}})Medium56.3%
1662Check If Two String Arrays are Equivalent[Go]({{< relref "/ChapterFour/1600~1699/1662.Check-If-Two-String-Arrays-are-Equivalent.md" >}})Easy83.5%
1663Smallest String With A Given Numeric Value[Go]({{< relref "/ChapterFour/1600~1699/1663.Smallest-String-With-A-Given-Numeric-Value.md" >}})Medium66.8%
1668Maximum Repeating Substring[Go]({{< relref "/ChapterFour/1600~1699/1668.Maximum-Repeating-Substring.md" >}})Easy39.5%
1678Goal Parser Interpretation[Go]({{< relref "/ChapterFour/1600~1699/1678.Goal-Parser-Interpretation.md" >}})Easy86.5%
1684Count the Number of Consistent Strings[Go]({{< relref "/ChapterFour/1600~1699/1684.Count-the-Number-of-Consistent-Strings.md" >}})Easy82.2%
1689Partitioning Into Minimum Number Of Deci-Binary Numbers[Go]({{< relref "/ChapterFour/1600~1699/1689.Partitioning-Into-Minimum-Number-Of-Deci-Binary-Numbers.md" >}})Medium89.2%
1694Reformat Phone Number[Go]({{< relref "/ChapterFour/1600~1699/1694.Reformat-Phone-Number.md" >}})Easy65.1%
1704Determine if String Halves Are Alike[Go]({{< relref "/ChapterFour/1700~1799/1704.Determine-if-String-Halves-Are-Alike.md" >}})Easy77.7%
1736Latest Time by Replacing Hidden Digits[Go]({{< relref "/ChapterFour/1700~1799/1736.Latest-Time-by-Replacing-Hidden-Digits.md" >}})Easy42.4%
1758Minimum Changes To Make Alternating Binary String[Go]({{< relref "/ChapterFour/1700~1799/1758.Minimum-Changes-To-Make-Alternating-Binary-String.md" >}})Easy58.3%
1763Longest Nice Substring[Go]({{< relref "/ChapterFour/1700~1799/1763.Longest-Nice-Substring.md" >}})Easy61.6%
1816Truncate Sentence[Go]({{< relref "/ChapterFour/1800~1899/1816.Truncate-Sentence.md" >}})Easy83.0%
2038Remove Colored Pieces if Both Neighbors are the Same Color[Go]({{< relref "/ChapterFour/2000~2099/2038.Remove-Colored-Pieces-if-Both-Neighbors-are-the-Same-Color.md" >}})Medium57.9%
2096Step-By-Step Directions From a Binary Tree Node to Another[Go]({{< relref "/ChapterFour/2000~2099/2096.Step-By-Step-Directions-From-a-Binary-Tree-Node-to-Another.md" >}})Medium48.4%
2167Minimum Time to Remove All Cars Containing Illegal Goods[Go]({{< relref "/ChapterFour/2100~2199/2167.Minimum-Time-to-Remove-All-Cars-Containing-Illegal-Goods.md" >}})Hard40.7%
2182Construct String With Repeat Limit[Go]({{< relref "/ChapterFour/2100~2199/2182.Construct-String-With-Repeat-Limit.md" >}})Medium52.2%
------------------------------------------------------------------------------------------------------------------------------------------------

<div style="display: flex;justify-content: space-between;align-items: center;"> <p><a href="https://books.halfrost.com/leetcode/ChapterTwo/Array/">⬅️上一页</a></p> <p><a href="https://books.halfrost.com/leetcode/ChapterTwo/Two_Pointers/">下一页➡️</a></p> </div>