2.13 Hash Table

Hash Table #

No.TitleSolutionDifficultyTimeComplexitySpaceComplexityFavoriteAcceptance
0001Two SumGoEasyO(n)O(n)47.1%
0003Longest Substring Without Repeating CharactersGoMediumO(n)O(1)❤️31.8%
00184SumGoMediumO(n^3)O(n^2)❤️35.6%
0030Substring with Concatenation of All WordsGoHardO(n)O(n)❤️26.7%
0036Valid SudokuGoMediumO(n^2)O(n^2)51.4%
0037Sudoku SolverGoHardO(n^2)O(n^2)❤️48.1%
0049Group AnagramsGoMediumO(n log n)O(n)60.4%
0076Minimum Window SubstringGoHardO(n)O(n)❤️36.6%
0094Binary Tree Inorder TraversalGoEasyO(n)O(1)67.1%
0136Single NumberGoEasy67.1%
0138Copy List with Random PointerGoMediumO(n)O(1)42.5%
0187Repeated DNA SequencesGoMedium42.0%
0202Happy NumberGoEasyO(log n)O(1)51.6%
0204Count PrimesGoEasy32.8%
0205Isomorphic StringsGoEasyO(log n)O(n)40.9%
0217Contains DuplicateGoEasyO(n)O(n)57.5%
0219Contains Duplicate IIGoEasyO(n)O(n)39.2%
0242Valid AnagramGoEasyO(n)O(n)59.3%
0274H-IndexGoMediumO(n)O(n)36.6%
0290Word PatternGoEasyO(n)O(n)38.6%
0347Top K Frequent ElementsGoMediumO(n)O(n)62.9%
0349Intersection of Two ArraysGoEasyO(n)O(n)66.0%
0350Intersection of Two Arrays IIGoEasyO(n)O(n)52.5%
0387First Unique Character in a StringGoEasy54.5%
0389Find the DifferenceGoEasy58.2%
0409Longest PalindromeGoEasy52.4%
0438Find All Anagrams in a StringGoMediumO(n)O(1)45.6%
0447Number of BoomerangsGoMediumO(n)O(1)52.7%
0451Sort Characters By FrequencyGoMediumO(n log n)O(1)65.1%
04544Sum IIGoMediumO(n^2)O(n)54.9%
0463Island PerimeterGoEasy67.1%
0500Keyboard RowGoEasy66.2%
0508Most Frequent Subtree SumGoMedium59.9%
0525Contiguous ArrayGoMedium43.9%
0535Encode and Decode TinyURLGoMedium82.6%
0554Brick WallGoMedium51.8%
0575Distribute CandiesGoEasy64.6%
0594Longest Harmonious SubsequenceGoEasy51.5%
0599Minimum Index Sum of Two ListsGoEasy52.3%
0609Find Duplicate File in SystemGoMedium63.0%
0632Smallest Range Covering Elements from K ListsGoHard55.2%
0645Set MismatchGoEasy40.9%
0648Replace WordsGoMediumO(n)O(n)59.7%
0676Implement Magic DictionaryGoMediumO(n)O(n)55.5%
0690Employee ImportanceGoEasy59.7%
0692Top K Frequent WordsGoMedium53.5%
0705Design HashSetGoEasy64.0%
0706Design HashMapGoEasy64.0%
0710Random Pick with BlacklistGoHardO(n)O(n)33.2%
0718Maximum Length of Repeated SubarrayGoMedium50.9%
0720Longest Word in DictionaryGoEasyO(n)O(n)49.7%
0726Number of AtomsGoHardO(n)O(n)❤️51.1%
0739Daily TemperaturesGoMediumO(n)O(n)65.2%
0748Shortest Completing WordGoEasy57.9%
0771Jewels and StonesGoEasy87.2%
0781Rabbits in ForestGoMedium56.2%
0811Subdomain Visit CountGoEasy72.1%
0884Uncommon Words from Two SentencesGoEasy64.4%
0895Maximum Frequency StackGoHardO(n)O(n)63.6%
0930Binary Subarrays With SumGoMediumO(n)O(n)❤️45.5%
0953Verifying an Alien DictionaryGoEasy52.3%
0961N-Repeated Element in Size 2N ArrayGoEasy74.9%
0966Vowel SpellcheckerGoMedium51.8%
0970Powerful IntegersGoMedium43.4%
0981Time Based Key-Value StoreGoMedium54.5%
0987Vertical Order Traversal of a Binary TreeGoHard39.3%
0992Subarrays with K Different IntegersGoHardO(n)O(n)❤️51.4%
1002Find Common CharactersGoEasy68.7%
1048Longest String ChainGoMedium56.1%
1078Occurrences After BigramGoEasy64.8%
1160Find Words That Can Be Formed by CharactersGoEasy67.9%
1178Number of Valid Words for Each PuzzleGoHard40.3%
1189Maximum Number of BalloonsGoEasy62.1%
1207Unique Number of OccurrencesGoEasy72.2%
1512Number of Good PairsGoEasy87.6%
1539Kth Missing Positive NumberGoEasy54.7%
1640Check Array Formation Through ConcatenationGoEasy55.5%
1679Max Number of K-Sum PairsGoMedium53.6%
1748Sum of Unique ElementsGoEasy74.7%
——————————————————————-——-—————-—————————-————-————-

⬅️上一页

下一页➡️

Calendar Jun 16, 2021
Edit Edit this page
本站总访问量:  次 您是本站第  位访问者