mirror of
https://github.com/McSmog/LeetCode-Questions-CompanyWise.git
synced 2026-04-19 16:56:45 +00:00
27 KiB
27 KiB
| 1 | 1239 | Maximum Length of a Concatenated String with Unique Characters | 47.8% | Medium | 0.6657761816190897 | https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters | |
|---|---|---|---|---|---|---|---|
| 2 | 1246 | Palindrome Removal | 46.0% | Hard | 0.5941286921253983 | https://leetcode.com/problems/palindrome-removal | |
| 3 | 273 | Integer to English Words | 27.1% | Hard | 0.5224812026317068 | https://leetcode.com/problems/integer-to-english-words | |
| 4 | 428 | Serialize and Deserialize N-ary Tree | 59.4% | Hard | 0.4508337131380154 | https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree | |
| 5 | 146 | LRU Cache | 33.2% | Medium | 0.37918622364432397 | https://leetcode.com/problems/lru-cache | |
| 6 | 1156 | Swap For Longest Repeated Character Substring | 49.0% | Medium | 0.3764775712349121 | https://leetcode.com/problems/swap-for-longest-repeated-character-substring | |
| 7 | 54 | Spiral Matrix | 34.1% | Medium | 0.35306273805914157 | https://leetcode.com/problems/spiral-matrix | |
| 8 | 212 | Word Search II | 34.9% | Hard | 0.3492519632676119 | https://leetcode.com/problems/word-search-ii | |
| 9 | 1236 | Web Crawler | 64.3% | Medium | 0.33647223662121295 | https://leetcode.com/problems/web-crawler | |
| 10 | 545 | Boundary of Binary Tree | 38.9% | Medium | 0.32365154819215153 | https://leetcode.com/problems/boundary-of-binary-tree | |
| 11 | 828 | Count Unique Characters of All Substrings of a Given String | 45.2% | Hard | 0.2972515234679316 | https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string | |
| 12 | 200 | Number of Islands | 46.8% | Medium | 0.23204607197311616 | https://leetcode.com/problems/number-of-islands | |
| 13 | 340 | Longest Substring with At Most K Distinct Characters | 44.1% | Hard | 0.2311568687093931 | https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters | |
| 14 | 25 | Reverse Nodes in k-Group | 42.1% | Hard | 0.22841574636360815 | https://leetcode.com/problems/reverse-nodes-in-k-group | |
| 15 | 218 | The Skyline Problem | 34.6% | Hard | 0.20884831112738325 | https://leetcode.com/problems/the-skyline-problem | |
| 16 | 348 | Design Tic-Tac-Toe | 54.3% | Medium | 0.19933290262049122 | https://leetcode.com/problems/design-tic-tac-toe | |
| 17 | 468 | Validate IP Address | 24.1% | Medium | 0.19827548473619627 | https://leetcode.com/problems/validate-ip-address | |
| 18 | 1375 | Bulb Switcher III | 62.6% | Medium | 0.19622624370172712 | https://leetcode.com/problems/bulb-switcher-iii | |
| 19 | 23 | Merge k Sorted Lists | 40.2% | Hard | 0.18142464262604538 | https://leetcode.com/problems/merge-k-sorted-lists | |
| 20 | 138 | Copy List with Random Pointer | 36.4% | Medium | 0.17215255068496113 | https://leetcode.com/problems/copy-list-with-random-pointer | |
| 21 | 179 | Largest Number | 28.8% | Medium | 0.15788342025694224 | https://leetcode.com/problems/largest-number | |
| 22 | 450 | Delete Node in a BST | 43.1% | Medium | 0.15561959910053247 | https://leetcode.com/problems/delete-node-in-a-bst | |
| 23 | 124 | Binary Tree Maximum Path Sum | 34.3% | Hard | 0.15512094811323265 | https://leetcode.com/problems/binary-tree-maximum-path-sum | |
| 24 | 767 | Reorganize String | 48.7% | Medium | 0.15185314866152042 | https://leetcode.com/problems/reorganize-string | |
| 25 | 1 | Two Sum | 45.6% | Easy | 0.14920101860781756 | https://leetcode.com/problems/two-sum | |
| 26 | 41 | First Missing Positive | 32.0% | Hard | 0.14910731703527175 | https://leetcode.com/problems/first-missing-positive | |
| 27 | 74 | Search a 2D Matrix | 36.5% | Medium | 0.13990475142949543 | https://leetcode.com/problems/search-a-2d-matrix | |
| 28 | 99 | Recover Binary Search Tree | 39.7% | Hard | 0.1363765523041528 | https://leetcode.com/problems/recover-binary-search-tree | |
| 29 | 42 | Trapping Rain Water | 48.9% | Hard | 0.12389276378675394 | https://leetcode.com/problems/trapping-rain-water | |
| 30 | 46 | Permutations | 63.5% | Medium | 0.12027982804941116 | https://leetcode.com/problems/permutations | |
| 31 | 93 | Restore IP Addresses | 35.6% | Medium | 0.11756123239496619 | https://leetcode.com/problems/restore-ip-addresses | |
| 32 | 116 | Populating Next Right Pointers in Each Node | 45.2% | Medium | 0.1113806498369338 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node | |
| 33 | 1188 | Design Bounded Blocking Queue | 70.5% | Medium | 0.11030454201470608 | https://leetcode.com/problems/design-bounded-blocking-queue | |
| 34 | 37 | Sudoku Solver | 43.6% | Hard | 0.1087554815281622 | https://leetcode.com/problems/sudoku-solver | |
| 35 | 445 | Add Two Numbers II | 54.5% | Medium | 0.10585667046830217 | https://leetcode.com/problems/add-two-numbers-ii | |
| 36 | 773 | Sliding Puzzle | 59.3% | Hard | 0.10294796925244239 | https://leetcode.com/problems/sliding-puzzle | |
| 37 | 232 | Implement Queue using Stacks | 49.6% | Easy | 0.09690200534777553 | https://leetcode.com/problems/implement-queue-using-stacks | |
| 38 | 716 | Max Stack | 42.6% | Easy | 0.09362342046209744 | https://leetcode.com/problems/max-stack | |
| 39 | 4 | Median of Two Sorted Arrays | 29.6% | Hard | 0.09321199094445486 | https://leetcode.com/problems/median-of-two-sorted-arrays | |
| 40 | 510 | Inorder Successor in BST II | 58.0% | Medium | 0.09244453252200126 | https://leetcode.com/problems/inorder-successor-in-bst-ii | |
| 41 | 155 | Min Stack | 44.5% | Easy | 0.09202674518071384 | https://leetcode.com/problems/min-stack | |
| 42 | 127 | Word Ladder | 29.6% | Medium | 0.09162341383415479 | https://leetcode.com/problems/word-ladder | |
| 43 | 1116 | Print Zero Even Odd | 56.0% | Medium | 0.08934510033584994 | https://leetcode.com/problems/print-zero-even-odd | |
| 44 | 240 | Search a 2D Matrix II | 43.2% | Medium | 0.08914990697180455 | https://leetcode.com/problems/search-a-2d-matrix-ii | |
| 45 | 358 | Rearrange String k Distance Apart | 34.9% | Hard | 0.08894748601649616 | https://leetcode.com/problems/rearrange-string-k-distance-apart | |
| 46 | 102 | Binary Tree Level Order Traversal | 54.6% | Medium | 0.0872240169150957 | https://leetcode.com/problems/binary-tree-level-order-traversal | |
| 47 | 622 | Design Circular Queue | 43.8% | Medium | 0.08696405427235052 | https://leetcode.com/problems/design-circular-queue | |
| 48 | 105 | Construct Binary Tree from Preorder and Inorder Traversal | 48.8% | Medium | 0.08645856912332787 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal | |
| 49 | 297 | Serialize and Deserialize Binary Tree | 47.5% | Hard | 0.0834242216674795 | https://leetcode.com/problems/serialize-and-deserialize-binary-tree | |
| 50 | 134 | Gas Station | 38.5% | Medium | 0.08169138321871633 | https://leetcode.com/problems/gas-station | |
| 51 | 636 | Exclusive Time of Functions | 51.9% | Medium | 0.08155306616046964 | https://leetcode.com/problems/exclusive-time-of-functions | |
| 52 | 89 | Gray Code | 49.1% | Medium | 0.08112554481236843 | https://leetcode.com/problems/gray-code | |
| 53 | 85 | Maximal Rectangle | 37.7% | Hard | 0.0805588367172521 | https://leetcode.com/problems/maximal-rectangle | |
| 54 | 695 | Max Area of Island | 62.7% | Medium | 0.07677187782851674 | https://leetcode.com/problems/max-area-of-island | |
| 55 | 1079 | Letter Tile Possibilities | 75.4% | Medium | 0.07350246199292652 | https://leetcode.com/problems/letter-tile-possibilities | |
| 56 | 98 | Validate Binary Search Tree | 27.8% | Medium | 0.07111326337575957 | https://leetcode.com/problems/validate-binary-search-tree | |
| 57 | 133 | Clone Graph | 34.8% | Medium | 0.07095173597228444 | https://leetcode.com/problems/clone-graph | |
| 58 | 126 | Word Ladder II | 22.1% | Hard | 0.07011193038456472 | https://leetcode.com/problems/word-ladder-ii | |
| 59 | 432 | All O`one Data Structure | 32.4% | Hard | 0.06887402901251127 | https://leetcode.com/problems/all-oone-data-structure | |
| 60 | 460 | LFU Cache | 34.2% | Hard | 0.06836374280939023 | https://leetcode.com/problems/lfu-cache | |
| 61 | 706 | Design HashMap | 61.3% | Easy | 0.0683442674369718 | https://leetcode.com/problems/design-hashmap | |
| 62 | 277 | Find the Celebrity | 41.8% | Medium | 0.06562120535847293 | https://leetcode.com/problems/find-the-celebrity | |
| 63 | 419 | Battleships in a Board | 70.0% | Medium | 0.06557337705569365 | https://leetcode.com/problems/battleships-in-a-board | |
| 64 | 702 | Search in a Sorted Array of Unknown Size | 66.9% | Medium | 0.06361444899419297 | https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size | |
| 65 | 1044 | Longest Duplicate Substring | 31.9% | Hard | 0.062325463197828765 | https://leetcode.com/problems/longest-duplicate-substring | |
| 66 | 380 | Insert Delete GetRandom O(1) | 47.5% | Medium | 0.05985510621029109 | https://leetcode.com/problems/insert-delete-getrandom-o1 | |
| 67 | 75 | Sort Colors | 47.3% | Medium | 0.05950522970614658 | https://leetcode.com/problems/sort-colors | |
| 68 | 49 | Group Anagrams | 56.9% | Medium | 0.059194347436734636 | https://leetcode.com/problems/group-anagrams | |
| 69 | 207 | Course Schedule | 43.1% | Medium | 0.05917457139647936 | https://leetcode.com/problems/course-schedule | |
| 70 | 8 | String to Integer (atoi) | 15.4% | Medium | 0.0590196151944673 | https://leetcode.com/problems/string-to-integer-atoi | |
| 71 | 630 | Course Schedule III | 33.5% | Hard | 0.058581901624802396 | https://leetcode.com/problems/course-schedule-iii | |
| 72 | 457 | Circular Array Loop | 29.4% | Medium | 0.058155920157074034 | https://leetcode.com/problems/circular-array-loop | |
| 73 | 950 | Reveal Cards In Increasing Order | 74.6% | Medium | 0.056592185311170023 | https://leetcode.com/problems/reveal-cards-in-increasing-order | |
| 74 | 236 | Lowest Common Ancestor of a Binary Tree | 45.7% | Medium | 0.05627201992757647 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree | |
| 75 | 315 | Count of Smaller Numbers After Self | 41.5% | Hard | 0.05621430690495994 | https://leetcode.com/problems/count-of-smaller-numbers-after-self | |
| 76 | 43 | Multiply Strings | 33.9% | Medium | 0.05583052804728052 | https://leetcode.com/problems/multiply-strings | |
| 77 | 149 | Max Points on a Line | 16.9% | Hard | 0.0550597771830274 | https://leetcode.com/problems/max-points-on-a-line | |
| 78 | 295 | Find Median from Data Stream | 44.3% | Hard | 0.05495888428075748 | https://leetcode.com/problems/find-median-from-data-stream | |
| 79 | 24 | Swap Nodes in Pairs | 50.4% | Medium | 0.05465011300438079 | https://leetcode.com/problems/swap-nodes-in-pairs | |
| 80 | 443 | String Compression | 41.3% | Easy | 0.05450940566837169 | https://leetcode.com/problems/string-compression | |
| 81 | 56 | Merge Intervals | 39.3% | Medium | 0.054167920212564245 | https://leetcode.com/problems/merge-intervals | |
| 82 | 1229 | Meeting Scheduler | 52.7% | Medium | 0.053560323833736816 | https://leetcode.com/problems/meeting-scheduler | |
| 83 | 679 | 24 Game | 46.4% | Hard | 0.05341723749698583 | https://leetcode.com/problems/24-game | |
| 84 | 186 | Reverse Words in a String II | 43.3% | Medium | 0.05064373281875492 | https://leetcode.com/problems/reverse-words-in-a-string-ii | |
| 85 | 681 | Next Closest Time | 45.0% | Medium | 0.05045206096038863 | https://leetcode.com/problems/next-closest-time | |
| 86 | 129 | Sum Root to Leaf Numbers | 49.1% | Medium | 0.050010420574661374 | https://leetcode.com/problems/sum-root-to-leaf-numbers | |
| 87 | 253 | Meeting Rooms II | 45.7% | Medium | 0.04945628059066218 | https://leetcode.com/problems/meeting-rooms-ii | |
| 88 | 759 | Employee Free Time | 66.3% | Hard | 0.04861224405509378 | https://leetcode.com/problems/employee-free-time | |
| 89 | 845 | Longest Mountain in Array | 37.2% | Medium | 0.047458490406358134 | https://leetcode.com/problems/longest-mountain-in-array | |
| 90 | 556 | Next Greater Element III | 31.7% | Medium | 0.04679216150675895 | https://leetcode.com/problems/next-greater-element-iii | |
| 91 | 224 | Basic Calculator | 36.8% | Hard | 0.046568165477211425 | https://leetcode.com/problems/basic-calculator | |
| 92 | 69 | Sqrt(x) | 33.9% | Easy | 0.045007596057435977 | https://leetcode.com/problems/sqrtx | |
| 93 | 36 | Valid Sudoku | 48.7% | Medium | 0.04452302288876419 | https://leetcode.com/problems/valid-sudoku | |
| 94 | 10 | Regular Expression Matching | 26.8% | Hard | 0.04409107726484965 | https://leetcode.com/problems/regular-expression-matching | |
| 95 | 148 | Sort List | 42.3% | Medium | 0.04408427313201935 | https://leetcode.com/problems/sort-list | |
| 96 | 171 | Excel Sheet Column Number | 55.9% | Easy | 0.04404785815605299 | https://leetcode.com/problems/excel-sheet-column-number | |
| 97 | 160 | Intersection of Two Linked Lists | 40.6% | Easy | 0.043270781043381126 | https://leetcode.com/problems/intersection-of-two-linked-lists | |
| 98 | 53 | Maximum Subarray | 46.5% | Easy | 0.04299340685592046 | https://leetcode.com/problems/maximum-subarray | |
| 99 | 727 | Minimum Window Subsequence | 41.8% | Hard | 0.04237922296886145 | https://leetcode.com/problems/minimum-window-subsequence | |
| 100 | 844 | Backspace String Compare | 46.4% | Easy | 0.041499730906752734 | https://leetcode.com/problems/backspace-string-compare | |
| 101 | 907 | Sum of Subarray Minimums | 32.3% | Medium | 0.04069737616380998 | https://leetcode.com/problems/sum-of-subarray-minimums | |
| 102 | 722 | Remove Comments | 34.6% | Medium | 0.04049136135473691 | https://leetcode.com/problems/remove-comments | |
| 103 | 346 | Moving Average from Data Stream | 70.9% | Easy | 0.03932354620391436 | https://leetcode.com/problems/moving-average-from-data-stream | |
| 104 | 17 | Letter Combinations of a Phone Number | 46.8% | Medium | 0.03893646375009422 | https://leetcode.com/problems/letter-combinations-of-a-phone-number | |
| 105 | 33 | Search in Rotated Sorted Array | 34.5% | Medium | 0.03886602267922457 | https://leetcode.com/problems/search-in-rotated-sorted-array | |
| 106 | 168 | Excel Sheet Column Title | 31.1% | Easy | 0.03861483612777958 | https://leetcode.com/problems/excel-sheet-column-title | |
| 107 | 1381 | Design a Stack With Increment Operation | 74.7% | Medium | 0.038355612390321446 | https://leetcode.com/problems/design-a-stack-with-increment-operation | |
| 108 | 317 | Shortest Distance from All Buildings | 41.4% | Hard | 0.03795522000043556 | https://leetcode.com/problems/shortest-distance-from-all-buildings | |
| 109 | 206 | Reverse Linked List | 62.5% | Easy | 0.03679633286058156 | https://leetcode.com/problems/reverse-linked-list | |
| 110 | 934 | Shortest Bridge | 48.2% | Medium | 0.03607244121670154 | https://leetcode.com/problems/shortest-bridge | |
| 111 | 208 | Implement Trie (Prefix Tree) | 49.4% | Medium | 0.03593469952792866 | https://leetcode.com/problems/implement-trie-prefix-tree | |
| 112 | 128 | Longest Consecutive Sequence | 45.1% | Hard | 0.035726058864721646 | https://leetcode.com/problems/longest-consecutive-sequence | |
| 113 | 189 | Rotate Array | 34.7% | Easy | 0.03569682997206547 | https://leetcode.com/problems/rotate-array | |
| 114 | 21 | Merge Two Sorted Lists | 53.5% | Easy | 0.03548634253021285 | https://leetcode.com/problems/merge-two-sorted-lists | |
| 115 | 1304 | Find N Unique Integers Sum up to Zero | 76.3% | Easy | 0.035408891906255915 | https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero | |
| 116 | 59 | Spiral Matrix II | 53.9% | Medium | 0.0351873674509732 | https://leetcode.com/problems/spiral-matrix-ii | |
| 117 | 238 | Product of Array Except Self | 60.1% | Medium | 0.03482987258052727 | https://leetcode.com/problems/product-of-array-except-self | |
| 118 | 103 | Binary Tree Zigzag Level Order Traversal | 48.3% | Medium | 0.03403976010989293 | https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal | |
| 119 | 567 | Permutation in String | 44.4% | Medium | 0.033324075731591886 | https://leetcode.com/problems/permutation-in-string | |
| 120 | 79 | Word Search | 35.6% | Medium | 0.03318208821436187 | https://leetcode.com/problems/word-search | |
| 121 | 528 | Random Pick with Weight | 43.9% | Medium | 0.03306693626657339 | https://leetcode.com/problems/random-pick-with-weight | |
| 122 | 239 | Sliding Window Maximum | 43.0% | Hard | 0.031228142547585713 | https://leetcode.com/problems/sliding-window-maximum | |
| 123 | 703 | Kth Largest Element in a Stream | 49.7% | Easy | 0.031004894819414507 | https://leetcode.com/problems/kth-largest-element-in-a-stream | |
| 124 | 38 | Count and Say | 44.6% | Easy | 0.030956234663467107 | https://leetcode.com/problems/count-and-say | |
| 125 | 557 | Reverse Words in a String III | 69.8% | Easy | 0.03063547953861342 | https://leetcode.com/problems/reverse-words-in-a-string-iii | |
| 126 | 44 | Wildcard Matching | 24.7% | Hard | 0.030573033362282363 | https://leetcode.com/problems/wildcard-matching | |
| 127 | 680 | Valid Palindrome II | 36.6% | Easy | 0.028841220390439494 | https://leetcode.com/problems/valid-palindrome-ii | |
| 128 | 269 | Alien Dictionary | 33.3% | Hard | 0.02841997399127492 | https://leetcode.com/problems/alien-dictionary | |
| 129 | 77 | Combinations | 54.7% | Medium | 0.028021758737593695 | https://leetcode.com/problems/combinations | |
| 130 | 20 | Valid Parentheses | 39.0% | Easy | 0.02782373445001039 | https://leetcode.com/problems/valid-parentheses | |
| 131 | 227 | Basic Calculator II | 36.9% | Medium | 0.027685557859864054 | https://leetcode.com/problems/basic-calculator-ii | |
| 132 | 5 | Longest Palindromic Substring | 29.5% | Medium | 0.02757010450426751 | https://leetcode.com/problems/longest-palindromic-substring | |
| 133 | 159 | Longest Substring with At Most Two Distinct Characters | 49.4% | Medium | 0.02717558537896476 | https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters | |
| 134 | 22 | Generate Parentheses | 62.7% | Medium | 0.026949997964496694 | https://leetcode.com/problems/generate-parentheses | |
| 135 | 2 | Add Two Numbers | 33.9% | Medium | 0.02668158945866115 | https://leetcode.com/problems/add-two-numbers | |
| 136 | 417 | Pacific Atlantic Water Flow | 41.1% | Medium | 0.025975486403260657 | https://leetcode.com/problems/pacific-atlantic-water-flow | |
| 137 | 987 | Vertical Order Traversal of a Binary Tree | 36.6% | Medium | 0.025915645579833068 | https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree | |
| 138 | 205 | Isomorphic Strings | 39.8% | Easy | 0.025789394882914186 | https://leetcode.com/problems/isomorphic-strings | |
| 139 | 362 | Design Hit Counter | 63.7% | Medium | 0.025382073271417165 | https://leetcode.com/problems/design-hit-counter | |
| 140 | 151 | Reverse Words in a String | 21.9% | Medium | 0.024321004216273485 | https://leetcode.com/problems/reverse-words-in-a-string | |
| 141 | 426 | Convert Binary Search Tree to Sorted Doubly Linked List | 59.1% | Medium | 0.024214258120594613 | https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list | |
| 142 | 140 | Word Break II | 32.6% | Hard | 0.024104005752813337 | https://leetcode.com/problems/word-break-ii | |
| 143 | 31 | Next Permutation | 32.6% | Medium | 0.023747034562878154 | https://leetcode.com/problems/next-permutation | |
| 144 | 252 | Meeting Rooms | 54.6% | Easy | 0.02332467256640893 | https://leetcode.com/problems/meeting-rooms | |
| 145 | 39 | Combination Sum | 56.1% | Medium | 0.02267028230338623 | https://leetcode.com/problems/combination-sum | |
| 146 | 449 | Serialize and Deserialize BST | 52.0% | Medium | 0.02246023667974994 | https://leetcode.com/problems/serialize-and-deserialize-bst | |
| 147 | 285 | Inorder Successor in BST | 40.4% | Medium | 0.02233482010057984 | https://leetcode.com/problems/inorder-successor-in-bst | |
| 148 | 113 | Path Sum II | 46.7% | Medium | 0.021882711249507664 | https://leetcode.com/problems/path-sum-ii | |
| 149 | 287 | Find the Duplicate Number | 55.5% | Medium | 0.021825992579766168 | https://leetcode.com/problems/find-the-duplicate-number | |
| 150 | 45 | Jump Game II | 30.6% | Hard | 0.021353124470568974 | https://leetcode.com/problems/jump-game-ii | |
| 151 | 621 | Task Scheduler | 50.1% | Medium | 0.020881218065250198 | https://leetcode.com/problems/task-scheduler | |
| 152 | 48 | Rotate Image | 56.7% | Medium | 0.020228249775471566 | https://leetcode.com/problems/rotate-image | |
| 153 | 166 | Fraction to Recurring Decimal | 21.6% | Medium | 0.02015181543730795 | https://leetcode.com/problems/fraction-to-recurring-decimal | |
| 154 | 399 | Evaluate Division | 51.6% | Medium | 0.019380451549662482 | https://leetcode.com/problems/evaluate-division | |
| 155 | 540 | Single Element in a Sorted Array | 57.9% | Medium | 0.0192128868599912 | https://leetcode.com/problems/single-element-in-a-sorted-array | |
| 156 | 173 | Binary Search Tree Iterator | 56.6% | Medium | 0.01899993824490396 | https://leetcode.com/problems/binary-search-tree-iterator | |
| 157 | 121 | Best Time to Buy and Sell Stock | 50.5% | Easy | 0.018954919107260947 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock | |
| 158 | 532 | K-diff Pairs in an Array | 31.6% | Easy | 0.018735911057469818 | https://leetcode.com/problems/k-diff-pairs-in-an-array | |
| 159 | 169 | Majority Element | 58.7% | Easy | 0.018694317054881164 | https://leetcode.com/problems/majority-element | |
| 160 | 88 | Merge Sorted Array | 39.4% | Easy | 0.018667009593356397 | https://leetcode.com/problems/merge-sorted-array | |
| 161 | 394 | Decode String | 50.0% | Medium | 0.0182820448374491 | https://leetcode.com/problems/decode-string | |
| 162 | 234 | Palindrome Linked List | 39.3% | Easy | 0.01801241989645556 | https://leetcode.com/problems/palindrome-linked-list | |
| 163 | 872 | Leaf-Similar Trees | 64.5% | Easy | 0.01752125418714782 | https://leetcode.com/problems/leaf-similar-trees | |
| 164 | 993 | Cousins in Binary Tree | 52.0% | Easy | 0.017414458368636587 | https://leetcode.com/problems/cousins-in-binary-tree | |
| 165 | 994 | Rotting Oranges | 49.2% | Medium | 0.017087941897195622 | https://leetcode.com/problems/rotting-oranges | |
| 166 | 210 | Course Schedule II | 40.7% | Medium | 0.01704828902223426 | https://leetcode.com/problems/course-schedule-ii | |
| 167 | 34 | Find First and Last Position of Element in Sorted Array | 36.2% | Medium | 0.01688338088311469 | https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array | |
| 168 | 225 | Implement Stack using Queues | 45.1% | Easy | 0.01644097863345757 | https://leetcode.com/problems/implement-stack-using-queues | |
| 169 | 51 | N-Queens | 46.6% | Hard | 0.016393809775676407 | https://leetcode.com/problems/n-queens | |
| 170 | 299 | Bulls and Cows | 42.4% | Easy | 0.016227536621756702 | https://leetcode.com/problems/bulls-and-cows | |
| 171 | 110 | Balanced Binary Tree | 43.5% | Easy | 0.015742847432510365 | https://leetcode.com/problems/balanced-binary-tree | |
| 172 | 701 | Insert into a Binary Search Tree | 77.7% | Medium | 0.015522236371561826 | https://leetcode.com/problems/insert-into-a-binary-search-tree | |
| 173 | 139 | Word Break | 40.1% | Medium | 0.015487677691351377 | https://leetcode.com/problems/word-break | |
| 174 | 707 | Design Linked List | 24.5% | Medium | 0.015054857167065819 | https://leetcode.com/problems/design-linked-list | |
| 175 | 516 | Longest Palindromic Subsequence | 53.2% | Medium | 0.014931221774984842 | https://leetcode.com/problems/longest-palindromic-subsequence | |
| 176 | 832 | Flipping an Image | 76.2% | Easy | 0.014652276786870392 | https://leetcode.com/problems/flipping-an-image | |
| 177 | 653 | Two Sum IV - Input is a BST | 55.5% | Easy | 0.014224990931347289 | https://leetcode.com/problems/two-sum-iv-input-is-a-bst | |
| 178 | 3 | Longest Substring Without Repeating Characters | 30.4% | Medium | 0.01391434345649413 | https://leetcode.com/problems/longest-substring-without-repeating-characters | |
| 179 | 131 | Palindrome Partitioning | 47.5% | Medium | 0.013903595538577326 | https://leetcode.com/problems/palindrome-partitioning | |
| 180 | 141 | Linked List Cycle | 41.1% | Easy | 0.01390238743679306 | https://leetcode.com/problems/linked-list-cycle | |
| 181 | 724 | Find Pivot Index | 44.0% | Easy | 0.013850636933899008 | https://leetcode.com/problems/find-pivot-index | |
| 182 | 332 | Reconstruct Itinerary | 36.7% | Medium | 0.013755375068485329 | https://leetcode.com/problems/reconstruct-itinerary | |
| 183 | 15 | 3Sum | 26.8% | Medium | 0.013665148419080968 | https://leetcode.com/problems/3sum | |
| 184 | 13 | Roman to Integer | 55.7% | Easy | 0.013645103403569418 | https://leetcode.com/problems/roman-to-integer | |
| 185 | 329 | Longest Increasing Path in a Matrix | 43.4% | Hard | 0.013400535537482126 | https://leetcode.com/problems/longest-increasing-path-in-a-matrix | |
| 186 | 91 | Decode Ways | 24.7% | Medium | 0.013379120336324091 | https://leetcode.com/problems/decode-ways | |
| 187 | 94 | Binary Tree Inorder Traversal | 63.3% | Medium | 0.013353561806134713 | https://leetcode.com/problems/binary-tree-inorder-traversal | |
| 188 | 199 | Binary Tree Right Side View | 54.1% | Medium | 0.01274082919906162 | https://leetcode.com/problems/binary-tree-right-side-view | |
| 189 | 518 | Coin Change 2 | 50.2% | Medium | 0.012527567532662891 | https://leetcode.com/problems/coin-change-2 | |
| 190 | 437 | Path Sum III | 47.2% | Medium | 0.012128711446614806 | https://leetcode.com/problems/path-sum-iii | |
| 191 | 543 | Diameter of Binary Tree | 48.4% | Easy | 0.011898606798495848 | https://leetcode.com/problems/diameter-of-binary-tree | |
| 192 | 442 | Find All Duplicates in an Array | 67.8% | Medium | 0.011675555865241341 | https://leetcode.com/problems/find-all-duplicates-in-an-array | |
| 193 | 378 | Kth Smallest Element in a Sorted Matrix | 54.3% | Medium | 0.011634802567699611 | https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix | |
| 194 | 117 | Populating Next Right Pointers in Each Node II | 39.1% | Medium | 0.011389644764357807 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii | |
| 195 | 733 | Flood Fill | 55.3% | Easy | 0.011217167530924988 | https://leetcode.com/problems/flood-fill | |
| 196 | 268 | Missing Number | 51.7% | Easy | 0.010947682628191997 | https://leetcode.com/problems/missing-number | |
| 197 | 92 | Reverse Linked List II | 38.8% | Medium | 0.010427623162259089 | https://leetcode.com/problems/reverse-linked-list-ii | |
| 198 | 647 | Palindromic Substrings | 60.6% | Medium | 0.010400509768078022 | https://leetcode.com/problems/palindromic-substrings | |
| 199 | 61 | Rotate List | 30.0% | Medium | 0.009925639799969955 | https://leetcode.com/problems/rotate-list | |
| 200 | 18 | 4Sum | 33.7% | Medium | 0.00984259914419414 | https://leetcode.com/problems/4sum | |
| 201 | 560 | Subarray Sum Equals K | 43.9% | Medium | 0.009603146783199741 | https://leetcode.com/problems/subarray-sum-equals-k | |
| 202 | 387 | First Unique Character in a String | 53.4% | Easy | 0.009392680199054166 | https://leetcode.com/problems/first-unique-character-in-a-string | |
| 203 | 1249 | Minimum Remove to Make Valid Parentheses | 62.5% | Medium | 0.009195467093100304 | https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses | |
| 204 | 32 | Longest Valid Parentheses | 28.4% | Hard | 0.009111680351255843 | https://leetcode.com/problems/longest-valid-parentheses | |
| 205 | 322 | Coin Change | 35.5% | Medium | 0.00904437880665999 | https://leetcode.com/problems/coin-change | |
| 206 | 28 | Implement strStr() | 34.5% | Easy | 0.008850485542574548 | https://leetcode.com/problems/implement-strstr | |
| 207 | 63 | Unique Paths II | 34.6% | Medium | 0.008712753874961187 | https://leetcode.com/problems/unique-paths-ii | |
| 208 | 198 | House Robber | 42.0% | Easy | 0.008434914115059812 | https://leetcode.com/problems/house-robber | |
| 209 | 209 | Minimum Size Subarray Sum | 38.2% | Medium | 0.00841401682484616 | https://leetcode.com/problems/minimum-size-subarray-sum | |
| 210 | 235 | Lowest Common Ancestor of a Binary Search Tree | 49.9% | Easy | 0.00821697310228087 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree | |
| 211 | 438 | Find All Anagrams in a String | 43.3% | Medium | 0.008126822460497498 | https://leetcode.com/problems/find-all-anagrams-in-a-string | |
| 212 | 26 | Remove Duplicates from Sorted Array | 45.1% | Easy | 0.007782518973063169 | https://leetcode.com/problems/remove-duplicates-from-sorted-array | |
| 213 | 328 | Odd Even Linked List | 55.7% | Medium | 0.00764383618585562 | https://leetcode.com/problems/odd-even-linked-list | |
| 214 | 876 | Middle of the Linked List | 68.4% | Easy | 0.007624893975696915 | https://leetcode.com/problems/middle-of-the-linked-list | |
| 215 | 415 | Add Strings | 47.5% | Easy | 0.007587289812159497 | https://leetcode.com/problems/add-strings | |
| 216 | 692 | Top K Frequent Words | 51.8% | Medium | 0.007516006820935329 | https://leetcode.com/problems/top-k-frequent-words | |
| 217 | 509 | Fibonacci Number | 67.2% | Easy | 0.007113670403855555 | https://leetcode.com/problems/fibonacci-number | |
| 218 | 204 | Count Primes | 31.5% | Easy | 0.007072165261362441 | https://leetcode.com/problems/count-primes | |
| 219 | 73 | Set Matrix Zeroes | 43.1% | Medium | 0.0070151111959223245 | https://leetcode.com/problems/set-matrix-zeroes | |
| 220 | 19 | Remove Nth Node From End of List | 35.2% | Medium | 0.0069087555063702365 | https://leetcode.com/problems/remove-nth-node-from-end-of-list | |
| 221 | 283 | Move Zeroes | 57.8% | Easy | 0.006480437425856766 | https://leetcode.com/problems/move-zeroes | |
| 222 | 83 | Remove Duplicates from Sorted List | 45.4% | Easy | 0.006353261522609498 | https://leetcode.com/problems/remove-duplicates-from-sorted-list | |
| 223 | 144 | Binary Tree Preorder Traversal | 55.7% | Medium | 0.0060975798681185 | https://leetcode.com/problems/binary-tree-preorder-traversal | |
| 224 | 108 | Convert Sorted Array to Binary Search Tree | 57.9% | Easy | 0.005554027051374908 | https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree | |
| 225 | 226 | Invert Binary Tree | 65.0% | Easy | 0.005508138409792252 | https://leetcode.com/problems/invert-binary-tree | |
| 226 | 300 | Longest Increasing Subsequence | 42.6% | Medium | 0.005264555460003242 | https://leetcode.com/problems/longest-increasing-subsequence | |
| 227 | 55 | Jump Game | 34.6% | Medium | 0.005022612266291382 | https://leetcode.com/problems/jump-game | |
| 228 | 62 | Unique Paths | 54.1% | Medium | 0.004621080312067025 | https://leetcode.com/problems/unique-paths | |
| 229 | 1470 | Shuffle the Array | 88.9% | Easy | 0.004527967890154029 | https://leetcode.com/problems/shuffle-the-array | |
| 230 | 7 | Reverse Integer | 25.8% | Easy | 0.00418293972984512 | https://leetcode.com/problems/reverse-integer | |
| 231 | 242 | Valid Anagram | 56.9% | Easy | 0.004154123743115972 | https://leetcode.com/problems/valid-anagram | |
| 232 | 215 | Kth Largest Element in an Array | 55.4% | Medium | 0.003902443976931749 | https://leetcode.com/problems/kth-largest-element-in-an-array | |
| 233 | 977 | Squares of a Sorted Array | 72.1% | Easy | 0.003891055492966611 | https://leetcode.com/problems/squares-of-a-sorted-array | |
| 234 | 153 | Find Minimum in Rotated Sorted Array | 45.1% | Medium | 0.0037558729598054378 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array | |
| 235 | 101 | Symmetric Tree | 46.8% | Easy | 0.0034057078469827435 | https://leetcode.com/problems/symmetric-tree | |
| 236 | 122 | Best Time to Buy and Sell Stock II | 57.0% | Easy | 0.0033545821461532107 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii | |
| 237 | 50 | Pow(x | n) | 30.3% | Medium | 0.0031510424503886844 | https://leetcode.com/problems/powx-n |
| 238 | 136 | Single Number | 65.5% | Easy | 0.002869648285357666 | https://leetcode.com/problems/single-number | |
| 239 | 104 | Maximum Depth of Binary Tree | 66.0% | Easy | 0.002787846801433134 | https://leetcode.com/problems/maximum-depth-of-binary-tree | |
| 240 | 106 | Construct Binary Tree from Inorder and Postorder Traversal | 47.2% | Medium | 0.00234041415121758 | https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal | |
| 241 | 70 | Climbing Stairs | 47.8% | Easy | 0.0015084665529624085 | https://leetcode.com/problems/climbing-stairs |