mirror of
https://github.com/krishnadey30/LeetCode-Questions-CompanyWise.git
synced 2025-12-28 05:34:42 +00:00
## Description
- Add headers to all the CSV files
## Script used
```py
import csv
import os
# Set the path of the folder containing the CSV files
folder_path = "./LeetCode-Questions-CompanyWise"
headers = [
"ID",
"Title",
"Acceptance",
"Difficulty",
"Frequency",
"Leetcode Question Link",
]
# Loop through all the CSV files in the folder
for file_name in os.listdir(folder_path):
if file_name.endswith(".csv"):
# Read the CSV file into a list of rows
file_path = os.path.join(folder_path, file_name)
with open(file_path, "r") as f:
reader = csv.reader(f)
rows = list(reader)
has_headers = False
if len(rows) > 0 and rows[0] == headers:
has_headers = True
if not has_headers:
rows.insert(0, headers)
# Write the list of rows back to the CSV file
with open(file_path, "w", newline="") as f:
writer = csv.writer(f)
writer.writerows(rows)
```
81 KiB
81 KiB
| 1 | ID | Title | Acceptance | Difficulty | Frequency | Leetcode Question Link |
|---|---|---|---|---|---|---|
| 2 | 937 | Reorder Data in Log Files | 54.3% | Easy | 4.767247308723531 | https://leetcode.com/problems/reorder-data-in-log-files |
| 3 | 1192 | Critical Connections in a Network | 48.6% | Hard | 4.608392488817646 | https://leetcode.com/problems/critical-connections-in-a-network |
| 4 | 200 | Number of Islands | 46.8% | Medium | 4.5237927479658 | https://leetcode.com/problems/number-of-islands |
| 5 | 973 | K Closest Points to Origin | 63.8% | Medium | 4.3649379280599145 | https://leetcode.com/problems/k-closest-points-to-origin |
| 6 | 819 | Most Common Word | 44.8% | Easy | 4.206083108154029 | https://leetcode.com/problems/most-common-word |
| 7 | 994 | Rotting Oranges | 49.2% | Medium | 4.12888767326667 | https://leetcode.com/problems/rotting-oranges |
| 8 | 146 | LRU Cache | 33.2% | Medium | 4.1259125217530634 | https://leetcode.com/problems/lru-cache |
| 9 | 1 | Two Sum | 45.6% | Easy | 3.9670577018471778 | https://leetcode.com/problems/two-sum |
| 10 | 138 | Copy List with Random Pointer | 36.4% | Medium | 3.8082028819412925 | https://leetcode.com/problems/copy-list-with-random-pointer |
| 11 | 763 | Partition Labels | 76.1% | Medium | 3.6493480620354073 | https://leetcode.com/problems/partition-labels |
| 12 | 5 | Longest Palindromic Substring | 29.5% | Medium | 3.6112713851966896 | https://leetcode.com/problems/longest-palindromic-substring |
| 13 | 692 | Top K Frequent Words | 51.8% | Medium | 3.4524165652908043 | https://leetcode.com/problems/top-k-frequent-words |
| 14 | 572 | Subtree of Another Tree | 44.1% | Easy | 3.293561745384919 | https://leetcode.com/problems/subtree-of-another-tree |
| 15 | 23 | Merge k Sorted Lists | 40.2% | Hard | 3.275608353119414 | https://leetcode.com/problems/merge-k-sorted-lists |
| 16 | 21 | Merge Two Sorted Lists | 53.5% | Easy | 3.1760577119891367 | https://leetcode.com/problems/merge-two-sorted-lists |
| 17 | 957 | Prison Cells After N Days | 40.7% | Medium | 3.1619868806897298 | https://leetcode.com/problems/prison-cells-after-n-days |
| 18 | 472 | Concatenated Words | 43.7% | Hard | 3.1035670505472908 | https://leetcode.com/problems/concatenated-words |
| 19 | 295 | Find Median from Data Stream | 44.3% | Hard | 3.071377319923169 | https://leetcode.com/problems/find-median-from-data-stream |
| 20 | 42 | Trapping Rain Water | 48.9% | Hard | 3.0345785163632195 | https://leetcode.com/problems/trapping-rain-water |
| 21 | 240 | Search a 2D Matrix II | 43.2% | Medium | 2.8882389761040663 | https://leetcode.com/problems/search-a-2d-matrix-ii |
| 22 | 642 | Design Search Autocomplete System | 44.7% | Hard | 2.850097902691714 | https://leetcode.com/problems/design-search-autocomplete-system |
| 23 | 297 | Serialize and Deserialize Binary Tree | 47.5% | Hard | 2.691243082785829 | https://leetcode.com/problems/serialize-and-deserialize-binary-tree |
| 24 | 348 | Design Tic-Tac-Toe | 54.3% | Medium | 2.6765966310651685 | https://leetcode.com/problems/design-tic-tac-toe |
| 25 | 127 | Word Ladder | 29.6% | Medium | 2.6565727712956915 | https://leetcode.com/problems/word-ladder |
| 26 | 126 | Word Ladder II | 22.1% | Hard | 2.6210965949028595 | https://leetcode.com/problems/word-ladder-ii |
| 27 | 253 | Meeting Rooms II | 45.7% | Medium | 2.5426760894240816 | https://leetcode.com/problems/meeting-rooms-ii |
| 28 | 588 | Design In-Memory File System | 45.9% | Hard | 2.481768900116033 | https://leetcode.com/problems/design-in-memory-file-system |
| 29 | 1167 | Minimum Cost to Connect Sticks | 62.8% | Medium | 2.423130930639536 | https://leetcode.com/problems/minimum-cost-to-connect-sticks |
| 30 | 212 | Word Search II | 34.9% | Hard | 2.409742163556229 | https://leetcode.com/problems/word-search-ii |
| 31 | 909 | Snakes and Ladders | 38.4% | Medium | 2.3368173292871526 | https://leetcode.com/problems/snakes-and-ladders |
| 32 | 273 | Integer to English Words | 27.1% | Hard | 2.3215771011354915 | https://leetcode.com/problems/integer-to-english-words |
| 33 | 460 | LFU Cache | 34.2% | Hard | 2.311351586206228 | https://leetcode.com/problems/lfu-cache |
| 34 | 2 | Add Two Numbers | 33.9% | Medium | 2.2533444302046233 | https://leetcode.com/problems/add-two-numbers |
| 35 | 545 | Boundary of Binary Tree | 38.9% | Medium | 2.2324541765453 | https://leetcode.com/problems/boundary-of-binary-tree |
| 36 | 139 | Word Break | 40.1% | Medium | 2.2058799303129293 | https://leetcode.com/problems/word-break |
| 37 | 694 | Number of Distinct Islands | 56.0% | Medium | 2.1981500748571623 | https://leetcode.com/problems/number-of-distinct-islands |
| 38 | 1152 | Analyze User Website Visit Pattern | 43.5% | Medium | 2.1610636126719283 | https://leetcode.com/problems/analyze-user-website-visit-pattern |
| 39 | 1268 | Search Suggestions System | 63.2% | Medium | 2.157831912757614 | https://leetcode.com/problems/search-suggestions-system |
| 40 | 1000 | Minimum Cost to Merge Stones | 39.8% | Hard | 2.0763714386373158 | https://leetcode.com/problems/minimum-cost-to-merge-stones |
| 41 | 380 | Insert Delete GetRandom O(1) | 47.5% | Medium | 2.0707373499375032 | https://leetcode.com/problems/insert-delete-getrandom-o1 |
| 42 | 675 | Cut Off Trees for Golf Event | 34.6% | Hard | 2.0356851106499882 | https://leetcode.com/problems/cut-off-trees-for-golf-event |
| 43 | 269 | Alien Dictionary | 33.3% | Hard | 2.01306490259895 | https://leetcode.com/problems/alien-dictionary |
| 44 | 121 | Best Time to Buy and Sell Stock | 50.5% | Easy | 2.0057576952331098 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock |
| 45 | 49 | Group Anagrams | 56.9% | Medium | 1.9598330557667063 | https://leetcode.com/problems/group-anagrams |
| 46 | 772 | Basic Calculator III | 41.3% | Hard | 1.93133194589594 | https://leetcode.com/problems/basic-calculator-iii |
| 47 | 863 | All Nodes Distance K in Binary Tree | 55.4% | Medium | 1.924676094041702 | https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree |
| 48 | 155 | Min Stack | 44.5% | Easy | 1.9215077818220445 | https://leetcode.com/problems/min-stack |
| 49 | 20 | Valid Parentheses | 39.0% | Easy | 1.9107339238261305 | https://leetcode.com/problems/valid-parentheses |
| 50 | 15 | 3Sum | 26.8% | Medium | 1.889218736497702 | https://leetcode.com/problems/3sum |
| 51 | 165 | Compare Version Numbers | 27.4% | Medium | 1.7706467919904958 | https://leetcode.com/problems/compare-version-numbers |
| 52 | 239 | Sliding Window Maximum | 43.0% | Hard | 1.7509567493480187 | https://leetcode.com/problems/sliding-window-maximum |
| 53 | 733 | Flood Fill | 55.3% | Easy | 1.74755550107457 | https://leetcode.com/problems/flood-fill |
| 54 | 866 | Prime Palindrome | 24.9% | Medium | 1.7204703854807533 | https://leetcode.com/problems/prime-palindrome |
| 55 | 238 | Product of Array Except Self | 60.1% | Medium | 1.71425284264257 | https://leetcode.com/problems/product-of-array-except-self |
| 56 | 341 | Flatten Nested List Iterator | 52.9% | Medium | 1.7121511329488845 | https://leetcode.com/problems/flatten-nested-list-iterator |
| 57 | 490 | The Maze | 51.4% | Medium | 1.6829041515736798 | https://leetcode.com/problems/the-maze |
| 58 | 17 | Letter Combinations of a Phone Number | 46.8% | Medium | 1.6822073282155063 | https://leetcode.com/problems/letter-combinations-of-a-phone-number |
| 59 | 3 | Longest Substring Without Repeating Characters | 30.4% | Medium | 1.6660170989747354 | https://leetcode.com/problems/longest-substring-without-repeating-characters |
| 60 | 45 | Jump Game II | 30.6% | Hard | 1.6544525444028277 | https://leetcode.com/problems/jump-game-ii |
| 61 | 1099 | Two Sum Less Than K | 60.6% | Easy | 1.6416694814604238 | https://leetcode.com/problems/two-sum-less-than-k |
| 62 | 207 | Course Schedule | 43.1% | Medium | 1.61781279723231 | https://leetcode.com/problems/course-schedule |
| 63 | 12 | Integer to Roman | 55.1% | Medium | 1.6016095787657718 | https://leetcode.com/problems/integer-to-roman |
| 64 | 1102 | Path With Maximum Minimum Value | 49.2% | Medium | 1.586376093728572 | https://leetcode.com/problems/path-with-maximum-minimum-value |
| 65 | 33 | Search in Rotated Sorted Array | 34.5% | Medium | 1.5791221107028763 | https://leetcode.com/problems/search-in-rotated-sorted-array |
| 66 | 56 | Merge Intervals | 39.3% | Medium | 1.5421333498120642 | https://leetcode.com/problems/merge-intervals |
| 67 | 895 | Maximum Frequency Stack | 60.6% | Hard | 1.5225874235471424 | https://leetcode.com/problems/maximum-frequency-stack |
| 68 | 314 | Binary Tree Vertical Order Traversal | 45.3% | Medium | 1.5177649083529745 | https://leetcode.com/problems/binary-tree-vertical-order-traversal |
| 69 | 53 | Maximum Subarray | 46.5% | Easy | 1.516974311835203 | https://leetcode.com/problems/maximum-subarray |
| 70 | 353 | Design Snake Game | 34.2% | Medium | 1.506328285095676 | https://leetcode.com/problems/design-snake-game |
| 71 | 322 | Coin Change | 35.5% | Medium | 1.4806772164640813 | https://leetcode.com/problems/coin-change |
| 72 | 4 | Median of Two Sorted Arrays | 29.6% | Hard | 1.4554565552515453 | https://leetcode.com/problems/median-of-two-sorted-arrays |
| 73 | 103 | Binary Tree Zigzag Level Order Traversal | 48.3% | Medium | 1.4259067156727416 | https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal |
| 74 | 99 | Recover Binary Search Tree | 39.7% | Hard | 1.4089750010850042 | https://leetcode.com/problems/recover-binary-search-tree |
| 75 | 76 | Minimum Window Substring | 34.6% | Hard | 1.3926423524495424 | https://leetcode.com/problems/minimum-window-substring |
| 76 | 706 | Design HashMap | 61.3% | Easy | 1.3834166612922754 | https://leetcode.com/problems/design-hashmap |
| 77 | 449 | Serialize and Deserialize BST | 52.0% | Medium | 1.3213393231925648 | https://leetcode.com/problems/serialize-and-deserialize-bst |
| 78 | 289 | Game of Life | 54.5% | Medium | 1.3165288639550394 | https://leetcode.com/problems/game-of-life |
| 79 | 64 | Minimum Path Sum | 54.5% | Medium | 1.3111693715773884 | https://leetcode.com/problems/minimum-path-sum |
| 80 | 140 | Word Break II | 32.6% | Hard | 1.3055596050544398 | https://leetcode.com/problems/word-break-ii |
| 81 | 505 | The Maze II | 47.7% | Medium | 1.2979377678520694 | https://leetcode.com/problems/the-maze-ii |
| 82 | 227 | Basic Calculator II | 36.9% | Medium | 1.287359403895079 | https://leetcode.com/problems/basic-calculator-ii |
| 83 | 323 | Number of Connected Components in an Undirected Graph | 56.0% | Medium | 1.2764047315524085 | https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph |
| 84 | 124 | Binary Tree Maximum Path Sum | 34.3% | Hard | 1.270922263715394 | https://leetcode.com/problems/binary-tree-maximum-path-sum |
| 85 | 224 | Basic Calculator | 36.8% | Hard | 1.270759854947338 | https://leetcode.com/problems/basic-calculator |
| 86 | 206 | Reverse Linked List | 62.5% | Easy | 1.2672568786519014 | https://leetcode.com/problems/reverse-linked-list |
| 87 | 503 | Next Greater Element II | 56.5% | Medium | 1.2578496219398863 | https://leetcode.com/problems/next-greater-element-ii |
| 88 | 387 | First Unique Character in a String | 53.4% | Easy | 1.2577684700448748 | https://leetcode.com/problems/first-unique-character-in-a-string |
| 89 | 208 | Implement Trie (Prefix Tree) | 49.4% | Medium | 1.2499823265022014 | https://leetcode.com/problems/implement-trie-prefix-tree |
| 90 | 543 | Diameter of Binary Tree | 48.4% | Easy | 1.2410094815743256 | https://leetcode.com/problems/diameter-of-binary-tree |
| 91 | 535 | Encode and Decode TinyURL | 79.9% | Medium | 1.227174226434749 | https://leetcode.com/problems/encode-and-decode-tinyurl |
| 92 | 815 | Bus Routes | 42.5% | Hard | 1.2156017946017912 | https://leetcode.com/problems/bus-routes |
| 93 | 11 | Container With Most Water | 50.8% | Medium | 1.2010266143542228 | https://leetcode.com/problems/container-with-most-water |
| 94 | 1091 | Shortest Path in Binary Matrix | 38.2% | Medium | 1.200913466942589 | https://leetcode.com/problems/shortest-path-in-binary-matrix |
| 95 | 362 | Design Hit Counter | 63.7% | Medium | 1.199980268917449 | https://leetcode.com/problems/design-hit-counter |
| 96 | 489 | Robot Room Cleaner | 69.7% | Hard | 1.1739954424366683 | https://leetcode.com/problems/robot-room-cleaner |
| 97 | 236 | Lowest Common Ancestor of a Binary Tree | 45.7% | Medium | 1.1582287933185333 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree |
| 98 | 277 | Find the Celebrity | 41.8% | Medium | 1.1562032194143523 | https://leetcode.com/problems/find-the-celebrity |
| 99 | 980 | Unique Paths III | 73.3% | Hard | 1.1561821404895873 | https://leetcode.com/problems/unique-paths-iii |
| 100 | 716 | Max Stack | 42.6% | Easy | 1.143395891295083 | https://leetcode.com/problems/max-stack |
| 101 | 74 | Search a 2D Matrix | 36.5% | Medium | 1.1351642692702506 | https://leetcode.com/problems/search-a-2d-matrix |
| 102 | 759 | Employee Free Time | 66.2% | Hard | 1.1328873695767963 | https://leetcode.com/problems/employee-free-time |
| 103 | 496 | Next Greater Element I | 63.8% | Easy | 1.1237639698973036 | https://leetcode.com/problems/next-greater-element-i |
| 104 | 97 | Interleaving String | 31.5% | Hard | 1.1211081248375274 | https://leetcode.com/problems/interleaving-string |
| 105 | 173 | Binary Search Tree Iterator | 56.6% | Medium | 1.114540456834975 | https://leetcode.com/problems/binary-search-tree-iterator |
| 106 | 54 | Spiral Matrix | 34.1% | Medium | 1.1072855603632137 | https://leetcode.com/problems/spiral-matrix |
| 107 | 394 | Decode String | 50.0% | Medium | 1.0885854207873837 | https://leetcode.com/problems/decode-string |
| 108 | 22 | Generate Parentheses | 62.7% | Medium | 1.0741309008544615 | https://leetcode.com/problems/generate-parentheses |
| 109 | 211 | Add and Search Word - Data structure design | 38.1% | Medium | 1.068971286476014 | https://leetcode.com/problems/add-and-search-word-data-structure-design |
| 110 | 317 | Shortest Distance from All Buildings | 41.4% | Hard | 1.0631755099111992 | https://leetcode.com/problems/shortest-distance-from-all-buildings |
| 111 | 703 | Kth Largest Element in a Stream | 49.7% | Easy | 1.0476504188568838 | https://leetcode.com/problems/kth-largest-element-in-a-stream |
| 112 | 93 | Restore IP Addresses | 35.6% | Medium | 1.0301182947170724 | https://leetcode.com/problems/restore-ip-addresses |
| 113 | 640 | Solve the Equation | 42.0% | Medium | 1.0254396827784502 | https://leetcode.com/problems/solve-the-equation |
| 114 | 445 | Add Two Numbers II | 54.5% | Medium | 1.0248223927917601 | https://leetcode.com/problems/add-two-numbers-ii |
| 115 | 564 | Find the Closest Palindrome | 19.7% | Hard | 1.0211247931897356 | https://leetcode.com/problems/find-the-closest-palindrome |
| 116 | 102 | Binary Tree Level Order Traversal | 54.6% | Medium | 1.0168566877633323 | https://leetcode.com/problems/binary-tree-level-order-traversal |
| 117 | 437 | Path Sum III | 47.2% | Medium | 1.01420443066745 | https://leetcode.com/problems/path-sum-iii |
| 118 | 631 | Design Excel Sum Formula | 31.6% | Hard | 1.007640510462383 | https://leetcode.com/problems/design-excel-sum-formula |
| 119 | 215 | Kth Largest Element in an Array | 55.4% | Medium | 1.0022262615303217 | https://leetcode.com/problems/kth-largest-element-in-an-array |
| 120 | 997 | Find the Town Judge | 50.1% | Easy | 0.9903020109316887 | https://leetcode.com/problems/find-the-town-judge |
| 121 | 695 | Max Area of Island | 62.7% | Medium | 0.988975047363172 | https://leetcode.com/problems/max-area-of-island |
| 122 | 403 | Frog Jump | 39.7% | Hard | 0.986149938424414 | https://leetcode.com/problems/frog-jump |
| 123 | 116 | Populating Next Right Pointers in Each Node | 45.2% | Medium | 0.9771405730638729 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node |
| 124 | 726 | Number of Atoms | 49.0% | Hard | 0.9725715677727447 | https://leetcode.com/problems/number-of-atoms |
| 125 | 55 | Jump Game | 34.6% | Medium | 0.9675236014754398 | https://leetcode.com/problems/jump-game |
| 126 | 98 | Validate Binary Search Tree | 27.8% | Medium | 0.9662594465630313 | https://leetcode.com/problems/validate-binary-search-tree |
| 127 | 767 | Reorganize String | 48.7% | Medium | 0.963102782263259 | https://leetcode.com/problems/reorganize-string |
| 128 | 1044 | Longest Duplicate Substring | 31.9% | Hard | 0.9584751419361788 | https://leetcode.com/problems/longest-duplicate-substring |
| 129 | 770 | Basic Calculator IV | 48.1% | Hard | 0.9582549309731873 | https://leetcode.com/problems/basic-calculator-iv |
| 130 | 210 | Course Schedule II | 40.7% | Medium | 0.9580946198777129 | https://leetcode.com/problems/course-schedule-ii |
| 131 | 739 | Daily Temperatures | 63.3% | Medium | 0.9460428580770935 | https://leetcode.com/problems/daily-temperatures |
| 132 | 347 | Top K Frequent Elements | 61.2% | Medium | 0.944060927263745 | https://leetcode.com/problems/top-k-frequent-elements |
| 133 | 91 | Decode Ways | 24.7% | Medium | 0.9291972065677444 | https://leetcode.com/problems/decode-ways |
| 134 | 388 | Longest Absolute File Path | 41.8% | Medium | 0.91753219696222 | https://leetcode.com/problems/longest-absolute-file-path |
| 135 | 57 | Insert Interval | 33.5% | Hard | 0.8985038991641041 | https://leetcode.com/problems/insert-interval |
| 136 | 105 | Construct Binary Tree from Preorder and Inorder Traversal | 48.8% | Medium | 0.8940038587005907 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal |
| 137 | 13 | Roman to Integer | 55.7% | Easy | 0.8933962612312258 | https://leetcode.com/problems/roman-to-integer |
| 138 | 653 | Two Sum IV - Input is a BST | 55.5% | Easy | 0.8889872641089201 | https://leetcode.com/problems/two-sum-iv-input-is-a-bst |
| 139 | 399 | Evaluate Division | 51.6% | Medium | 0.8812413457657069 | https://leetcode.com/problems/evaluate-division |
| 140 | 143 | Reorder List | 37.1% | Medium | 0.8793923055639359 | https://leetcode.com/problems/reorder-list |
| 141 | 79 | Word Search | 35.6% | Medium | 0.8759684458676714 | https://leetcode.com/problems/word-search |
| 142 | 384 | Shuffle an Array | 52.8% | Medium | 0.8699792450691285 | https://leetcode.com/problems/shuffle-an-array |
| 143 | 1155 | Number of Dice Rolls With Target Sum | 49.0% | Medium | 0.8666032186425704 | https://leetcode.com/problems/number-of-dice-rolls-with-target-sum |
| 144 | 25 | Reverse Nodes in k-Group | 42.1% | Hard | 0.8575824149327572 | https://leetcode.com/problems/reverse-nodes-in-k-group |
| 145 | 252 | Meeting Rooms | 54.6% | Easy | 0.844766213465424 | https://leetcode.com/problems/meeting-rooms |
| 146 | 221 | Maximal Square | 37.7% | Medium | 0.8389600248044948 | https://leetcode.com/problems/maximal-square |
| 147 | 622 | Design Circular Queue | 43.7% | Medium | 0.8231587572738468 | https://leetcode.com/problems/design-circular-queue |
| 148 | 981 | Time Based Key-Value Store | 53.1% | Medium | 0.8180951326968029 | https://leetcode.com/problems/time-based-key-value-store |
| 149 | 333 | Largest BST Subtree | 35.8% | Medium | 0.8169787959635177 | https://leetcode.com/problems/largest-bst-subtree |
| 150 | 185 | Department Top Three Salaries | 34.5% | Hard | 0.8162131770102277 | https://leetcode.com/problems/department-top-three-salaries |
| 151 | 456 | 132 Pattern | 28.9% | Medium | 0.8138174114576592 | https://leetcode.com/problems/132-pattern |
| 152 | 480 | Sliding Window Median | 37.2% | Hard | 0.8042373907743527 | https://leetcode.com/problems/sliding-window-median |
| 153 | 36 | Valid Sudoku | 48.7% | Medium | 0.802497178015298 | https://leetcode.com/problems/valid-sudoku |
| 154 | 48 | Rotate Image | 56.7% | Medium | 0.8008039084781219 | https://leetcode.com/problems/rotate-image |
| 155 | 628 | Maximum Product of Three Numbers | 47.1% | Easy | 0.790349508516308 | https://leetcode.com/problems/maximum-product-of-three-numbers |
| 156 | 188 | Best Time to Buy and Sell Stock IV | 28.0% | Hard | 0.7898945225949174 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv |
| 157 | 336 | Palindrome Pairs | 33.7% | Hard | 0.7886756056728623 | https://leetcode.com/problems/palindrome-pairs |
| 158 | 199 | Binary Tree Right Side View | 54.1% | Medium | 0.7876280977126043 | https://leetcode.com/problems/binary-tree-right-side-view |
| 159 | 556 | Next Greater Element III | 31.7% | Medium | 0.7873680356378151 | https://leetcode.com/problems/next-greater-element-iii |
| 160 | 352 | Data Stream as Disjoint Intervals | 47.3% | Hard | 0.7849120431121034 | https://leetcode.com/problems/data-stream-as-disjoint-intervals |
| 161 | 688 | Knight Probability in Chessboard | 48.9% | Medium | 0.7779674428567601 | https://leetcode.com/problems/knight-probability-in-chessboard |
| 162 | 133 | Clone Graph | 34.8% | Medium | 0.7777045685880084 | https://leetcode.com/problems/clone-graph |
| 163 | 340 | Longest Substring with At Most K Distinct Characters | 44.1% | Hard | 0.7767156879202488 | https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters |
| 164 | 286 | Walls and Gates | 54.5% | Medium | 0.7665200207243745 | https://leetcode.com/problems/walls-and-gates |
| 165 | 117 | Populating Next Right Pointers in Each Node II | 39.1% | Medium | 0.7633611466044863 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii |
| 166 | 529 | Minesweeper | 59.1% | Medium | 0.7566953924986649 | https://leetcode.com/problems/minesweeper |
| 167 | 373 | Find K Pairs with Smallest Sums | 36.7% | Medium | 0.7534978029618075 | https://leetcode.com/problems/find-k-pairs-with-smallest-sums |
| 168 | 39 | Combination Sum | 56.1% | Medium | 0.7530803152298828 | https://leetcode.com/problems/combination-sum |
| 169 | 312 | Burst Balloons | 51.8% | Hard | 0.7383294033531782 | https://leetcode.com/problems/burst-balloons |
| 170 | 540 | Single Element in a Sorted Array | 57.9% | Medium | 0.7377254480119279 | https://leetcode.com/problems/single-element-in-a-sorted-array |
| 171 | 1038 | Binary Search Tree to Greater Sum Tree | 80.8% | Medium | 0.7366460015524573 | https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree |
| 172 | 378 | Kth Smallest Element in a Sorted Matrix | 54.3% | Medium | 0.7208465856314515 | https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix |
| 173 | 987 | Vertical Order Traversal of a Binary Tree | 36.6% | Medium | 0.7193470381638601 | https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree |
| 174 | 109 | Convert Sorted List to Binary Search Tree | 47.7% | Medium | 0.7182831538314877 | https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree |
| 175 | 1046 | Last Stone Weight | 62.2% | Easy | 0.7136834368003875 | https://leetcode.com/problems/last-stone-weight |
| 176 | 560 | Subarray Sum Equals K | 43.9% | Medium | 0.7082042605360416 | https://leetcode.com/problems/subarray-sum-equals-k |
| 177 | 46 | Permutations | 63.5% | Medium | 0.7006713538066263 | https://leetcode.com/problems/permutations |
| 178 | 332 | Reconstruct Itinerary | 36.7% | Medium | 0.6934933810134637 | https://leetcode.com/problems/reconstruct-itinerary |
| 179 | 62 | Unique Paths | 54.1% | Medium | 0.679976059447545 | https://leetcode.com/problems/unique-paths |
| 180 | 284 | Peeking Iterator | 45.7% | Medium | 0.6707820311003652 | https://leetcode.com/problems/peeking-iterator |
| 181 | 417 | Pacific Atlantic Water Flow | 41.1% | Medium | 0.666478933477784 | https://leetcode.com/problems/pacific-atlantic-water-flow |
| 182 | 261 | Graph Valid Tree | 42.2% | Medium | 0.661701044953794 | https://leetcode.com/problems/graph-valid-tree |
| 183 | 218 | The Skyline Problem | 34.6% | Hard | 0.6570184564714399 | https://leetcode.com/problems/the-skyline-problem |
| 184 | 84 | Largest Rectangle in Histogram | 35.2% | Hard | 0.6538762359232341 | https://leetcode.com/problems/largest-rectangle-in-histogram |
| 185 | 32 | Longest Valid Parentheses | 28.4% | Hard | 0.6498908753938852 | https://leetcode.com/problems/longest-valid-parentheses |
| 186 | 711 | Number of Distinct Islands II | 47.3% | Hard | 0.6359887667199967 | https://leetcode.com/problems/number-of-distinct-islands-ii |
| 187 | 101 | Symmetric Tree | 46.8% | Easy | 0.6277269630953998 | https://leetcode.com/problems/symmetric-tree |
| 188 | 287 | Find the Duplicate Number | 55.5% | Medium | 0.6216243663856534 | https://leetcode.com/problems/find-the-duplicate-number |
| 189 | 41 | First Missing Positive | 32.0% | Hard | 0.6155202158646018 | https://leetcode.com/problems/first-missing-positive |
| 190 | 1219 | Path with Maximum Gold | 65.1% | Medium | 0.6151572787436681 | https://leetcode.com/problems/path-with-maximum-gold |
| 191 | 205 | Isomorphic Strings | 39.8% | Easy | 0.6091659093074805 | https://leetcode.com/problems/isomorphic-strings |
| 192 | 1214 | Two Sum BSTs | 67.6% | Medium | 0.5957174923400869 | https://leetcode.com/problems/two-sum-bsts |
| 193 | 518 | Coin Change 2 | 50.2% | Medium | 0.5915614413251872 | https://leetcode.com/problems/coin-change-2 |
| 194 | 721 | Accounts Merge | 48.8% | Medium | 0.5908536653497264 | https://leetcode.com/problems/accounts-merge |
| 195 | 787 | Cheapest Flights Within K Stops | 39.3% | Medium | 0.5893689437132485 | https://leetcode.com/problems/cheapest-flights-within-k-stops |
| 196 | 150 | Evaluate Reverse Polish Notation | 36.3% | Medium | 0.5881819999537198 | https://leetcode.com/problems/evaluate-reverse-polish-notation |
| 197 | 10 | Regular Expression Matching | 26.8% | Hard | 0.5850984373117593 | https://leetcode.com/problems/regular-expression-matching |
| 198 | 63 | Unique Paths II | 34.6% | Medium | 0.5820823931819539 | https://leetcode.com/problems/unique-paths-ii |
| 199 | 134 | Gas Station | 38.5% | Medium | 0.5687668431527801 | https://leetcode.com/problems/gas-station |
| 200 | 737 | Sentence Similarity II | 45.8% | Medium | 0.5686930060865394 | https://leetcode.com/problems/sentence-similarity-ii |
| 201 | 978 | Longest Turbulent Subarray | 46.6% | Medium | 0.5684623920757161 | https://leetcode.com/problems/longest-turbulent-subarray |
| 202 | 268 | Missing Number | 51.7% | Easy | 0.5678291006201323 | https://leetcode.com/problems/missing-number |
| 203 | 992 | Subarrays with K Different Integers | 48.6% | Hard | 0.5672611876601065 | https://leetcode.com/problems/subarrays-with-k-different-integers |
| 204 | 409 | Longest Palindrome | 50.3% | Easy | 0.5661573229787376 | https://leetcode.com/problems/longest-palindrome |
| 205 | 300 | Longest Increasing Subsequence | 42.6% | Medium | 0.5653677916137054 | https://leetcode.com/problems/longest-increasing-subsequence |
| 206 | 983 | Minimum Cost For Tickets | 60.5% | Medium | 0.5629118579098171 | https://leetcode.com/problems/minimum-cost-for-tickets |
| 207 | 135 | Candy | 31.6% | Hard | 0.5626323814748484 | https://leetcode.com/problems/candy |
| 208 | 634 | Find the Derangement of An Array | 40.1% | Medium | 0.5623075796011341 | https://leetcode.com/problems/find-the-derangement-of-an-array |
| 209 | 8 | String to Integer (atoi) | 15.4% | Medium | 0.5566121908772103 | https://leetcode.com/problems/string-to-integer-atoi |
| 210 | 993 | Cousins in Binary Tree | 52.0% | Easy | 0.5551513544505905 | https://leetcode.com/problems/cousins-in-binary-tree |
| 211 | 1100 | Find K-Length Substrings With No Repeated Characters | 72.7% | Medium | 0.5543107357057295 | https://leetcode.com/problems/find-k-length-substrings-with-no-repeated-characters |
| 212 | 516 | Longest Palindromic Subsequence | 53.2% | Medium | 0.5522281191875855 | https://leetcode.com/problems/longest-palindromic-subsequence |
| 213 | 75 | Sort Colors | 47.3% | Medium | 0.5427432267342958 | https://leetcode.com/problems/sort-colors |
| 214 | 943 | Find the Shortest Superstring | 42.9% | Hard | 0.5357102670818683 | https://leetcode.com/problems/find-the-shortest-superstring |
| 215 | 71 | Simplify Path | 32.6% | Medium | 0.5262793676678309 | https://leetcode.com/problems/simplify-path |
| 216 | 547 | Friend Circles | 58.6% | Medium | 0.5259672525715527 | https://leetcode.com/problems/friend-circles |
| 217 | 1429 | First Unique Number | 47.0% | Medium | 0.5239621016713606 | https://leetcode.com/problems/first-unique-number |
| 218 | 153 | Find Minimum in Rotated Sorted Array | 45.1% | Medium | 0.5222372151929279 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array |
| 219 | 86 | Partition List | 41.5% | Medium | 0.5141613428466489 | https://leetcode.com/problems/partition-list |
| 220 | 192 | Word Frequency | 25.8% | Medium | 0.5129680991436376 | https://leetcode.com/problems/word-frequency |
| 221 | 1057 | Campus Bikes | 57.7% | Medium | 0.50861323348305 | https://leetcode.com/problems/campus-bikes |
| 222 | 37 | Sudoku Solver | 43.6% | Hard | 0.5078801135362339 | https://leetcode.com/problems/sudoku-solver |
| 223 | 85 | Maximal Rectangle | 37.7% | Hard | 0.505442030682518 | https://leetcode.com/problems/maximal-rectangle |
| 224 | 349 | Intersection of Two Arrays | 62.5% | Easy | 0.5048408597071582 | https://leetcode.com/problems/intersection-of-two-arrays |
| 225 | 1135 | Connecting Cities With Minimum Cost | 57.5% | Medium | 0.501406401849499 | https://leetcode.com/problems/connecting-cities-with-minimum-cost |
| 226 | 72 | Edit Distance | 44.8% | Hard | 0.4973447790261514 | https://leetcode.com/problems/edit-distance |
| 227 | 636 | Exclusive Time of Functions | 52.0% | Medium | 0.49627524402791723 | https://leetcode.com/problems/exclusive-time-of-functions |
| 228 | 528 | Random Pick with Weight | 43.9% | Medium | 0.48937950996520846 | https://leetcode.com/problems/random-pick-with-weight |
| 229 | 113 | Path Sum II | 46.7% | Medium | 0.48815162137800294 | https://leetcode.com/problems/path-sum-ii |
| 230 | 735 | Asteroid Collision | 41.0% | Medium | 0.48598907090432486 | https://leetcode.com/problems/asteroid-collision |
| 231 | 538 | Convert BST to Greater Tree | 55.4% | Easy | 0.485748321807536 | https://leetcode.com/problems/convert-bst-to-greater-tree |
| 232 | 1236 | Web Crawler | 64.3% | Medium | 0.48550781578170077 | https://leetcode.com/problems/web-crawler |
| 233 | 1011 | Capacity To Ship Packages Within D Days | 58.1% | Medium | 0.4816807923583991 | https://leetcode.com/problems/capacity-to-ship-packages-within-d-days |
| 234 | 1032 | Stream of Characters | 48.3% | Hard | 0.4815348268449252 | https://leetcode.com/problems/stream-of-characters |
| 235 | 301 | Remove Invalid Parentheses | 43.3% | Hard | 0.47974654080004886 | https://leetcode.com/problems/remove-invalid-parentheses |
| 236 | 426 | Convert Binary Search Tree to Sorted Doubly Linked List | 59.1% | Medium | 0.47793775692115553 | https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list |
| 237 | 16 | 3Sum Closest | 46.0% | Medium | 0.4774123771930342 | https://leetcode.com/problems/3sum-closest |
| 238 | 315 | Count of Smaller Numbers After Self | 41.5% | Hard | 0.4767121931596299 | https://leetcode.com/problems/count-of-smaller-numbers-after-self |
| 239 | 298 | Binary Tree Longest Consecutive Sequence | 47.1% | Medium | 0.4737843520856416 | https://leetcode.com/problems/binary-tree-longest-consecutive-sequence |
| 240 | 794 | Valid Tic-Tac-Toe State | 32.6% | Medium | 0.4724161756511195 | https://leetcode.com/problems/valid-tic-tac-toe-state |
| 241 | 176 | Second Highest Salary | 31.6% | Easy | 0.47069912017443083 | https://leetcode.com/problems/second-highest-salary |
| 242 | 558 | Logical OR of Two Binary Grids Represented as Quad-Trees | 44.6% | Medium | 0.46813621507094005 | https://leetcode.com/problems/logical-or-of-two-binary-grids-represented-as-quad-trees |
| 243 | 88 | Merge Sorted Array | 39.4% | Easy | 0.46429699445861544 | https://leetcode.com/problems/merge-sorted-array |
| 244 | 272 | Closest Binary Search Tree Value II | 50.5% | Hard | 0.462623521948113 | https://leetcode.com/problems/closest-binary-search-tree-value-ii |
| 245 | 59 | Spiral Matrix II | 53.9% | Medium | 0.4529975257530934 | https://leetcode.com/problems/spiral-matrix-ii |
| 246 | 68 | Text Justification | 27.7% | Hard | 0.4495613440132932 | https://leetcode.com/problems/text-justification |
| 247 | 635 | Design Log Storage System | 58.6% | Medium | 0.4485486942444761 | https://leetcode.com/problems/design-log-storage-system |
| 248 | 285 | Inorder Successor in BST | 40.4% | Medium | 0.44766390708014486 | https://leetcode.com/problems/inorder-successor-in-bst |
| 249 | 465 | Optimal Account Balancing | 46.9% | Hard | 0.44746022914476763 | https://leetcode.com/problems/optimal-account-balancing |
| 250 | 120 | Triangle | 44.2% | Medium | 0.4465801975799588 | https://leetcode.com/problems/triangle |
| 251 | 19 | Remove Nth Node From End of List | 35.2% | Medium | 0.4456768409675064 | https://leetcode.com/problems/remove-nth-node-from-end-of-list |
| 252 | 123 | Best Time to Buy and Sell Stock III | 37.5% | Hard | 0.44142820516401104 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii |
| 253 | 167 | Two Sum II - Input array is sorted | 54.1% | Easy | 0.43971022755443356 | https://leetcode.com/problems/two-sum-ii-input-array-is-sorted |
| 254 | 1120 | Maximum Average Subtree | 61.9% | Medium | 0.43814407233118585 | https://leetcode.com/problems/maximum-average-subtree |
| 255 | 854 | K-Similar Strings | 38.2% | Hard | 0.43634727500236803 | https://leetcode.com/problems/k-similar-strings |
| 256 | 361 | Bomb Enemy | 46.0% | Medium | 0.4333220626111306 | https://leetcode.com/problems/bomb-enemy |
| 257 | 356 | Line Reflection | 31.8% | Medium | 0.4269293467764643 | https://leetcode.com/problems/line-reflection |
| 258 | 122 | Best Time to Buy and Sell Stock II | 57.0% | Easy | 0.4220164440136994 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii |
| 259 | 1010 | Pairs of Songs With Total Durations Divisible by 60 | 47.4% | Easy | 0.42064633523841427 | https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60 |
| 260 | 96 | Unique Binary Search Trees | 52.9% | Medium | 0.42021191912831435 | https://leetcode.com/problems/unique-binary-search-trees |
| 261 | 438 | Find All Anagrams in a String | 43.3% | Medium | 0.42018018969304527 | https://leetcode.com/problems/find-all-anagrams-in-a-string |
| 262 | 177 | Nth Highest Salary | 31.4% | Medium | 0.41948151008170015 | https://leetcode.com/problems/nth-highest-salary |
| 263 | 169 | Majority Element | 58.7% | Easy | 0.4187817161007766 | https://leetcode.com/problems/majority-element |
| 264 | 228 | Summary Ranges | 39.5% | Medium | 0.41424759968851377 | https://leetcode.com/problems/summary-ranges |
| 265 | 128 | Longest Consecutive Sequence | 45.1% | Hard | 0.4130892250537352 | https://leetcode.com/problems/longest-consecutive-sequence |
| 266 | 366 | Find Leaves of Binary Tree | 70.6% | Medium | 0.4130123137435473 | https://leetcode.com/problems/find-leaves-of-binary-tree |
| 267 | 149 | Max Points on a Line | 16.9% | Hard | 0.4117347211217598 | https://leetcode.com/problems/max-points-on-a-line |
| 268 | 234 | Palindrome Linked List | 39.3% | Easy | 0.40610862095331074 | https://leetcode.com/problems/palindrome-linked-list |
| 269 | 442 | Find All Duplicates in an Array | 67.8% | Medium | 0.4029173360293657 | https://leetcode.com/problems/find-all-duplicates-in-an-array |
| 270 | 1066 | Campus Bikes II | 54.2% | Medium | 0.40032370860774574 | https://leetcode.com/problems/campus-bikes-ii |
| 271 | 78 | Subsets | 62.0% | Medium | 0.3978316012118198 | https://leetcode.com/problems/subsets |
| 272 | 1335 | Minimum Difficulty of a Job Schedule | 57.6% | Hard | 0.3963047387095001 | https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule |
| 273 | 18 | 4Sum | 33.7% | Medium | 0.3951916126129905 | https://leetcode.com/problems/4sum |
| 274 | 1197 | Minimum Knight Moves | 36.1% | Medium | 0.39358878405685155 | https://leetcode.com/problems/minimum-knight-moves |
| 275 | 296 | Best Meeting Point | 57.5% | Hard | 0.388507095744267 | https://leetcode.com/problems/best-meeting-point |
| 276 | 1215 | Stepping Numbers | 41.6% | Medium | 0.3856624808119847 | https://leetcode.com/problems/stepping-numbers |
| 277 | 230 | Kth Smallest Element in a BST | 60.2% | Medium | 0.37791604408658863 | https://leetcode.com/problems/kth-smallest-element-in-a-bst |
| 278 | 152 | Maximum Product Subarray | 31.7% | Medium | 0.37438681518796224 | https://leetcode.com/problems/maximum-product-subarray |
| 279 | 283 | Move Zeroes | 57.8% | Easy | 0.37259180599681807 | https://leetcode.com/problems/move-zeroes |
| 280 | 1279 | Traffic Light Controlled Intersection | 74.3% | Easy | 0.37117603462953225 | https://leetcode.com/problems/traffic-light-controlled-intersection |
| 281 | 498 | Diagonal Traverse | 48.2% | Medium | 0.36965808183913323 | https://leetcode.com/problems/diagonal-traverse |
| 282 | 346 | Moving Average from Data Stream | 70.9% | Easy | 0.3685471485927166 | https://leetcode.com/problems/moving-average-from-data-stream |
| 283 | 432 | All O`one Data Structure | 32.4% | Hard | 0.3685471485927166 | https://leetcode.com/problems/all-oone-data-structure |
| 284 | 92 | Reverse Linked List II | 38.8% | Medium | 0.36663565313437546 | https://leetcode.com/problems/reverse-linked-list-ii |
| 285 | 647 | Palindromic Substrings | 60.6% | Medium | 0.3658330889129942 | https://leetcode.com/problems/palindromic-substrings |
| 286 | 6 | ZigZag Conversion | 36.3% | Medium | 0.3614824134493735 | https://leetcode.com/problems/zigzag-conversion |
| 287 | 31 | Next Permutation | 32.6% | Medium | 0.3605125693237505 | https://leetcode.com/problems/next-permutation |
| 288 | 1083 | Sales Analysis II | 50.5% | Easy | 0.35277564256684985 | https://leetcode.com/problems/sales-analysis-ii |
| 289 | 1022 | Sum of Root To Leaf Binary Numbers | 67.2% | Easy | 0.34981385355878714 | https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers |
| 290 | 843 | Guess the Word | 46.1% | Hard | 0.34967374847974886 | https://leetcode.com/problems/guess-the-word |
| 291 | 410 | Split Array Largest Sum | 44.5% | Hard | 0.3494594321480241 | https://leetcode.com/problems/split-array-largest-sum |
| 292 | 51 | N-Queens | 46.6% | Hard | 0.34587301090591877 | https://leetcode.com/problems/n-queens |
| 293 | 329 | Longest Increasing Path in a Matrix | 43.4% | Hard | 0.34223732585313005 | https://leetcode.com/problems/longest-increasing-path-in-a-matrix |
| 294 | 785 | Is Graph Bipartite? | 47.5% | Medium | 0.3413031638908785 | https://leetcode.com/problems/is-graph-bipartite |
| 295 | 148 | Sort List | 42.3% | Medium | 0.3404883062761029 | https://leetcode.com/problems/sort-list |
| 296 | 30 | Substring with Concatenation of All Words | 25.4% | Hard | 0.3384481668491529 | https://leetcode.com/problems/substring-with-concatenation-of-all-words |
| 297 | 14 | Longest Common Prefix | 35.4% | Easy | 0.33820492794739787 | https://leetcode.com/problems/longest-common-prefix |
| 298 | 1130 | Minimum Cost Tree From Leaf Values | 66.1% | Medium | 0.33787755363431937 | https://leetcode.com/problems/minimum-cost-tree-from-leaf-values |
| 299 | 715 | Range Module | 38.5% | Hard | 0.33647223662121295 | https://leetcode.com/problems/range-module |
| 300 | 233 | Number of Digit One | 31.3% | Hard | 0.3343430661930074 | https://leetcode.com/problems/number-of-digit-one |
| 301 | 428 | Serialize and Deserialize N-ary Tree | 59.4% | Hard | 0.3333026618599339 | https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree |
| 302 | 28 | Implement strStr() | 34.5% | Easy | 0.3329666353832624 | https://leetcode.com/problems/implement-strstr |
| 303 | 187 | Repeated DNA Sequences | 38.9% | Medium | 0.3305164293012779 | https://leetcode.com/problems/repeated-dna-sequences |
| 304 | 611 | Valid Triangle Number | 48.4% | Medium | 0.33024168687057687 | https://leetcode.com/problems/valid-triangle-number |
| 305 | 827 | Making A Large Island | 45.7% | Hard | 0.32879599515977564 | https://leetcode.com/problems/making-a-large-island |
| 306 | 129 | Sum Root to Leaf Numbers | 49.1% | Medium | 0.3277345401930075 | https://leetcode.com/problems/sum-root-to-leaf-numbers |
| 307 | 430 | Flatten a Multilevel Doubly Linked List | 55.1% | Medium | 0.32335829449138764 | https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list |
| 308 | 901 | Online Stock Span | 60.2% | Medium | 0.3225465062722876 | https://leetcode.com/problems/online-stock-span |
| 309 | 1004 | Max Consecutive Ones III | 59.1% | Medium | 0.3213847274185471 | https://leetcode.com/problems/max-consecutive-ones-iii |
| 310 | 243 | Shortest Word Distance | 61.0% | Easy | 0.3181698955520328 | https://leetcode.com/problems/shortest-word-distance |
| 311 | 652 | Find Duplicate Subtrees | 50.2% | Medium | 0.31675833653328983 | https://leetcode.com/problems/find-duplicate-subtrees |
| 312 | 164 | Maximum Gap | 35.5% | Hard | 0.31669089928362504 | https://leetcode.com/problems/maximum-gap |
| 313 | 710 | Random Pick with Blacklist | 32.5% | Hard | 0.3161972427598021 | https://leetcode.com/problems/random-pick-with-blacklist |
| 314 | 1094 | Car Pooling | 56.7% | Medium | 0.3139727676834986 | https://leetcode.com/problems/car-pooling |
| 315 | 678 | Valid Parenthesis String | 31.0% | Medium | 0.31306090671867376 | https://leetcode.com/problems/valid-parenthesis-string |
| 316 | 542 | 01 Matrix | 39.8% | Medium | 0.3127505293143989 | https://leetcode.com/problems/01-matrix |
| 317 | 986 | Interval List Intersections | 67.3% | Medium | 0.31059633197465675 | https://leetcode.com/problems/interval-list-intersections |
| 318 | 682 | Baseball Game | 63.7% | Easy | 0.30408190151928766 | https://leetcode.com/problems/baseball-game |
| 319 | 179 | Largest Number | 28.8% | Medium | 0.2993933318726824 | https://leetcode.com/problems/largest-number |
| 320 | 235 | Lowest Common Ancestor of a Binary Search Tree | 49.9% | Easy | 0.29906505953500556 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree |
| 321 | 1244 | Design A Leaderboard | 60.7% | Medium | 0.29681946470121906 | https://leetcode.com/problems/design-a-leaderboard |
| 322 | 1229 | Meeting Scheduler | 52.7% | Medium | 0.2955601745092634 | https://leetcode.com/problems/meeting-scheduler |
| 323 | 1031 | Maximum Sum of Two Non-Overlapping Subarrays | 57.9% | Medium | 0.2928670946738281 | https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays |
| 324 | 1275 | Find Winner on a Tic Tac Toe Game | 52.8% | Easy | 0.2924262358737592 | https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game |
| 325 | 658 | Find K Closest Elements | 40.9% | Medium | 0.29206941888140686 | https://leetcode.com/problems/find-k-closest-elements |
| 326 | 1166 | Design File System | 56.8% | Medium | 0.28978070910870213 | https://leetcode.com/problems/design-file-system |
| 327 | 729 | My Calendar I | 51.8% | Medium | 0.28814578681204955 | https://leetcode.com/problems/my-calendar-i |
| 328 | 463 | Island Perimeter | 65.7% | Easy | 0.2871321686710828 | https://leetcode.com/problems/island-perimeter |
| 329 | 161 | One Edit Distance | 32.3% | Medium | 0.28698931177288023 | https://leetcode.com/problems/one-edit-distance |
| 330 | 699 | Falling Squares | 41.8% | Hard | 0.2856138193877219 | https://leetcode.com/problems/falling-squares |
| 331 | 708 | Insert into a Sorted Circular Linked List | 31.6% | Medium | 0.28504006298894224 | https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list |
| 332 | 1104 | Path In Zigzag Labelled Binary Tree | 72.0% | Medium | 0.2805718342692762 | https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree |
| 333 | 525 | Contiguous Array | 42.8% | Medium | 0.2770270045517302 | https://leetcode.com/problems/contiguous-array |
| 334 | 701 | Insert into a Binary Search Tree | 77.7% | Medium | 0.27518744386988786 | https://leetcode.com/problems/insert-into-a-binary-search-tree |
| 335 | 1172 | Dinner Plate Stacks | 38.2% | Hard | 0.2711095169699942 | https://leetcode.com/problems/dinner-plate-stacks |
| 336 | 229 | Majority Element II | 35.6% | Medium | 0.2683771567744578 | https://leetcode.com/problems/majority-element-ii |
| 337 | 34 | Find First and Last Position of Element in Sorted Array | 36.2% | Medium | 0.2681513034845063 | https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array |
| 338 | 24 | Swap Nodes in Pairs | 50.4% | Medium | 0.26683115052864725 | https://leetcode.com/problems/swap-nodes-in-pairs |
| 339 | 773 | Sliding Puzzle | 59.3% | Hard | 0.26329061932762177 | https://leetcode.com/problems/sliding-puzzle |
| 340 | 242 | Valid Anagram | 56.9% | Easy | 0.262948481812954 | https://leetcode.com/problems/valid-anagram |
| 341 | 1139 | Largest 1-Bordered Square | 47.5% | Medium | 0.26159729523649006 | https://leetcode.com/problems/largest-1-bordered-square |
| 342 | 690 | Employee Importance | 57.3% | Easy | 0.26044752514150726 | https://leetcode.com/problems/employee-importance |
| 343 | 1074 | Number of Submatrices That Sum to Target | 60.4% | Hard | 0.2586674025861649 | https://leetcode.com/problems/number-of-submatrices-that-sum-to-target |
| 344 | 508 | Most Frequent Subtree Sum | 57.9% | Medium | 0.25863376562317586 | https://leetcode.com/problems/most-frequent-subtree-sum |
| 345 | 262 | Trips and Users | 32.7% | Hard | 0.2574582856986366 | https://leetcode.com/problems/trips-and-users |
| 346 | 632 | Smallest Range Covering Elements from K Lists | 52.4% | Hard | 0.2574120081490246 | https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists |
| 347 | 683 | K Empty Slots | 35.6% | Hard | 0.25708853309999324 | https://leetcode.com/problems/k-empty-slots |
| 348 | 1084 | Sales Analysis III | 54.3% | Easy | 0.25658186347459155 | https://leetcode.com/problems/sales-analysis-iii |
| 349 | 466 | Count The Repetitions | 28.2% | Hard | 0.2561688067457042 | https://leetcode.com/problems/count-the-repetitions |
| 350 | 325 | Maximum Size Subarray Sum Equals k | 46.8% | Medium | 0.2525907526405108 | https://leetcode.com/problems/maximum-size-subarray-sum-equals-k |
| 351 | 29 | Divide Two Integers | 16.4% | Medium | 0.2524087060724961 | https://leetcode.com/problems/divide-two-integers |
| 352 | 337 | House Robber III | 50.6% | Medium | 0.24474562568123703 | https://leetcode.com/problems/house-robber-iii |
| 353 | 270 | Closest Binary Search Tree Value | 48.5% | Easy | 0.24399544337520654 | https://leetcode.com/problems/closest-binary-search-tree-value |
| 354 | 94 | Binary Tree Inorder Traversal | 63.3% | Medium | 0.24076588645845454 | https://leetcode.com/problems/binary-tree-inorder-traversal |
| 355 | 402 | Remove K Digits | 28.4% | Medium | 0.24067603007585034 | https://leetcode.com/problems/remove-k-digits |
| 356 | 662 | Maximum Width of Binary Tree | 41.0% | Medium | 0.23997959968856164 | https://leetcode.com/problems/maximum-width-of-binary-tree |
| 357 | 419 | Battleships in a Board | 70.0% | Medium | 0.23987034511952326 | https://leetcode.com/problems/battleships-in-a-board |
| 358 | 775 | Global and Local Inversions | 42.1% | Medium | 0.23922968906583414 | https://leetcode.com/problems/global-and-local-inversions |
| 359 | 112 | Path Sum | 41.2% | Easy | 0.23803283926479718 | https://leetcode.com/problems/path-sum |
| 360 | 1019 | Next Greater Node In Linked List | 57.4% | Medium | 0.2370206170237612 | https://leetcode.com/problems/next-greater-node-in-linked-list |
| 361 | 225 | Implement Stack using Queues | 45.1% | Easy | 0.2352539271098461 | https://leetcode.com/problems/implement-stack-using-queues |
| 362 | 1188 | Design Bounded Blocking Queue | 70.5% | Medium | 0.23300728083654992 | https://leetcode.com/problems/design-bounded-blocking-queue |
| 363 | 397 | Integer Replacement | 32.9% | Medium | 0.2322522675124501 | https://leetcode.com/problems/integer-replacement |
| 364 | 698 | Partition to K Equal Sum Subsets | 45.0% | Medium | 0.23205891497216208 | https://leetcode.com/problems/partition-to-k-equal-sum-subsets |
| 365 | 509 | Fibonacci Number | 67.2% | Easy | 0.22873204718012582 | https://leetcode.com/problems/fibonacci-number |
| 366 | 369 | Plus One Linked List | 58.2% | Medium | 0.22538822116803361 | https://leetcode.com/problems/plus-one-linked-list |
| 367 | 159 | Longest Substring with At Most Two Distinct Characters | 49.4% | Medium | 0.22148929121818325 | https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters |
| 368 | 1122 | Relative Sort Array | 67.7% | Easy | 0.21796115980722663 | https://leetcode.com/problems/relative-sort-array |
| 369 | 939 | Minimum Area Rectangle | 51.8% | Medium | 0.2169226914391073 | https://leetcode.com/problems/minimum-area-rectangle |
| 370 | 40 | Combination Sum II | 48.2% | Medium | 0.21560801183996 | https://leetcode.com/problems/combination-sum-ii |
| 371 | 81 | Search in Rotated Sorted Array II | 33.0% | Medium | 0.21357410029805904 | https://leetcode.com/problems/search-in-rotated-sorted-array-ii |
| 372 | 90 | Subsets II | 47.1% | Medium | 0.2089835112237315 | https://leetcode.com/problems/subsets-ii |
| 373 | 279 | Perfect Squares | 47.4% | Medium | 0.20821790109753407 | https://leetcode.com/problems/perfect-squares |
| 374 | 83 | Remove Duplicates from Sorted List | 45.4% | Easy | 0.20656326017269647 | https://leetcode.com/problems/remove-duplicates-from-sorted-list |
| 375 | 604 | Design Compressed String Iterator | 37.5% | Easy | 0.20585205420414873 | https://leetcode.com/problems/design-compressed-string-iterator |
| 376 | 579 | Find Cumulative Salary of an Employee | 37.0% | Hard | 0.20340107258500856 | https://leetcode.com/problems/find-cumulative-salary-of-an-employee |
| 377 | 443 | String Compression | 41.3% | Easy | 0.2021974133159511 | https://leetcode.com/problems/string-compression |
| 378 | 141 | Linked List Cycle | 41.1% | Easy | 0.2021173215788326 | https://leetcode.com/problems/linked-list-cycle |
| 379 | 1143 | Longest Common Subsequence | 58.4% | Medium | 0.20038826657183323 | https://leetcode.com/problems/longest-common-subsequence |
| 380 | 44 | Wildcard Matching | 24.7% | Hard | 0.19947835142380788 | https://leetcode.com/problems/wildcard-matching |
| 381 | 836 | Rectangle Overlap | 48.6% | Easy | 0.19944370144318244 | https://leetcode.com/problems/rectangle-overlap |
| 382 | 1007 | Minimum Domino Rotations For Equal Row | 50.0% | Medium | 0.19906748870593582 | https://leetcode.com/problems/minimum-domino-rotations-for-equal-row |
| 383 | 50 | Pow(x;n) | 30.3% | Medium | 0.1981682603478686 | https://leetcode.com/problems/powx-n |
| 384 | 1315 | Sum of Nodes with Even-Valued Grandparent | 83.5% | Medium | 0.19757677034220278 | https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent |
| 385 | 637 | Average of Levels in Binary Tree | 63.1% | Easy | 0.1972664368553499 | https://leetcode.com/problems/average-of-levels-in-binary-tree |
| 386 | 214 | Shortest Palindrome | 29.8% | Hard | 0.19671029424605424 | https://leetcode.com/problems/shortest-palindrome |
| 387 | 1062 | Longest Repeating Substring | 57.2% | Medium | 0.19627990904466153 | https://leetcode.com/problems/longest-repeating-substring |
| 388 | 1360 | Number of Days Between Two Dates | 48.8% | Easy | 0.19578302313828744 | https://leetcode.com/problems/number-of-days-between-two-dates |
| 389 | 581 | Shortest Unsorted Continuous Subarray | 31.1% | Easy | 0.19466945271128616 | https://leetcode.com/problems/shortest-unsorted-continuous-subarray |
| 390 | 73 | Set Matrix Zeroes | 43.1% | Medium | 0.19305803523368698 | https://leetcode.com/problems/set-matrix-zeroes |
| 391 | 451 | Sort Characters By Frequency | 63.0% | Medium | 0.19214843173356422 | https://leetcode.com/problems/sort-characters-by-frequency |
| 392 | 1198 | Find Smallest Common Element in All Rows | 74.9% | Medium | 0.19105523676270922 | https://leetcode.com/problems/find-smallest-common-element-in-all-rows |
| 393 | 756 | Pyramid Transition Matrix | 54.6% | Medium | 0.19105523676270922 | https://leetcode.com/problems/pyramid-transition-matrix |
| 394 | 114 | Flatten Binary Tree to Linked List | 49.3% | Medium | 0.19007687356143277 | https://leetcode.com/problems/flatten-binary-tree-to-linked-list |
| 395 | 864 | Shortest Path to Get All Keys | 40.1% | Hard | 0.18924199963852842 | https://leetcode.com/problems/shortest-path-to-get-all-keys |
| 396 | 136 | Single Number | 65.5% | Easy | 0.18865964400599367 | https://leetcode.com/problems/single-number |
| 397 | 900 | RLE Iterator | 53.5% | Medium | 0.1884471502206373 | https://leetcode.com/problems/rle-iterator |
| 398 | 178 | Rank Scores | 45.8% | Medium | 0.18843907402659216 | https://leetcode.com/problems/rank-scores |
| 399 | 7 | Reverse Integer | 25.8% | Easy | 0.18680592133798127 | https://leetcode.com/problems/reverse-integer |
| 400 | 743 | Network Delay Time | 45.0% | Medium | 0.18664052695637473 | https://leetcode.com/problems/network-delay-time |
| 401 | 181 | Employees Earning More Than Their Managers | 56.9% | Easy | 0.18496356625679328 | https://leetcode.com/problems/employees-earning-more-than-their-managers |
| 402 | 307 | Range Sum Query - Mutable | 34.6% | Medium | 0.1842870214165705 | https://leetcode.com/problems/range-sum-query-mutable |
| 403 | 137 | Single Number II | 52.4% | Medium | 0.18373876827436816 | https://leetcode.com/problems/single-number-ii |
| 404 | 969 | Pancake Sorting | 67.5% | Medium | 0.18336922582639836 | https://leetcode.com/problems/pancake-sorting |
| 405 | 226 | Invert Binary Tree | 65.0% | Easy | 0.18135450553395235 | https://leetcode.com/problems/invert-binary-tree |
| 406 | 407 | Trapping Rain Water II | 42.4% | Hard | 0.17945093763999478 | https://leetcode.com/problems/trapping-rain-water-ii |
| 407 | 163 | Missing Ranges | 24.3% | Medium | 0.17904823144898546 | https://leetcode.com/problems/missing-ranges |
| 408 | 316 | Remove Duplicate Letters | 35.8% | Hard | 0.17663825552387563 | https://leetcode.com/problems/remove-duplicate-letters |
| 409 | 162 | Find Peak Element | 43.3% | Medium | 0.17622454513525765 | https://leetcode.com/problems/find-peak-element |
| 410 | 130 | Surrounded Regions | 28.1% | Medium | 0.17613332483584074 | https://leetcode.com/problems/surrounded-regions |
| 411 | 473 | Matchsticks to Square | 37.7% | Medium | 0.17589066646366422 | https://leetcode.com/problems/matchsticks-to-square |
| 412 | 453 | Minimum Moves to Equal Array Elements | 50.2% | Easy | 0.17435338714477774 | https://leetcode.com/problems/minimum-moves-to-equal-array-elements |
| 413 | 415 | Add Strings | 47.5% | Easy | 0.17429245611868044 | https://leetcode.com/problems/add-strings |
| 414 | 202 | Happy Number | 50.4% | Easy | 0.17408932588103054 | https://leetcode.com/problems/happy-number |
| 415 | 1002 | Find Common Characters | 67.6% | Easy | 0.17272065827709143 | https://leetcode.com/problems/find-common-characters |
| 416 | 350 | Intersection of Two Arrays II | 51.4% | Easy | 0.1723244267089384 | https://leetcode.com/problems/intersection-of-two-arrays-ii |
| 417 | 929 | Unique Email Addresses | 67.4% | Easy | 0.17132822097463707 | https://leetcode.com/problems/unique-email-addresses |
| 418 | 264 | Ugly Number II | 42.0% | Medium | 0.1712203840326157 | https://leetcode.com/problems/ugly-number-ii |
| 419 | 609 | Find Duplicate File in System | 59.5% | Medium | 0.16971838464062922 | https://leetcode.com/problems/find-duplicate-file-in-system |
| 420 | 1430 | Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree | 44.8% | Medium | 0.16917873135476025 | https://leetcode.com/problems/check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree |
| 421 | 69 | Sqrt(x) | 33.9% | Easy | 0.1690194941008683 | https://leetcode.com/problems/sqrtx |
| 422 | 618 | Students Report By Geography | 55.0% | Hard | 0.1684645221325284 | https://leetcode.com/problems/students-report-by-geography |
| 423 | 70 | Climbing Stairs | 47.8% | Easy | 0.16776798899548578 | https://leetcode.com/problems/climbing-stairs |
| 424 | 805 | Split Array With Same Average | 26.4% | Hard | 0.16635770580494058 | https://leetcode.com/problems/split-array-with-same-average |
| 425 | 963 | Minimum Area Rectangle II | 50.9% | Medium | 0.16635770580494058 | https://leetcode.com/problems/minimum-area-rectangle-ii |
| 426 | 232 | Implement Queue using Stacks | 49.6% | Easy | 0.16627106739678052 | https://leetcode.com/problems/implement-queue-using-stacks |
| 427 | 1024 | Video Stitching | 49.2% | Medium | 0.16582008790006805 | https://leetcode.com/problems/video-stitching |
| 428 | 412 | Fizz Buzz | 62.3% | Easy | 0.16533767872713678 | https://leetcode.com/problems/fizz-buzz |
| 429 | 244 | Shortest Word Distance II | 52.3% | Medium | 0.16400297627026994 | https://leetcode.com/problems/shortest-word-distance-ii |
| 430 | 204 | Count Primes | 31.5% | Easy | 0.1633347782917643 | https://leetcode.com/problems/count-primes |
| 431 | 110 | Balanced Binary Tree | 43.5% | Easy | 0.16237787582661925 | https://leetcode.com/problems/balanced-binary-tree |
| 432 | 881 | Boats to Save People | 46.8% | Medium | 0.16229864091884685 | https://leetcode.com/problems/boats-to-save-people |
| 433 | 1373 | Maximum Sum BST in Binary Tree | 40.2% | Hard | 0.1599143845440084 | https://leetcode.com/problems/maximum-sum-bst-in-binary-tree |
| 434 | 727 | Minimum Window Subsequence | 41.8% | Hard | 0.15970111035790735 | https://leetcode.com/problems/minimum-window-subsequence |
| 435 | 131 | Palindrome Partitioning | 47.5% | Medium | 0.15829229898055353 | https://leetcode.com/problems/palindrome-partitioning |
| 436 | 209 | Minimum Size Subarray Sum | 38.2% | Medium | 0.1579457507958099 | https://leetcode.com/problems/minimum-size-subarray-sum |
| 437 | 189 | Rotate Array | 34.7% | Easy | 0.1575195768933631 | https://leetcode.com/problems/rotate-array |
| 438 | 266 | Palindrome Permutation | 61.9% | Easy | 0.15687671513649673 | https://leetcode.com/problems/palindrome-permutation |
| 439 | 381 | Insert Delete GetRandom O(1) - Duplicates allowed | 34.1% | Hard | 0.15656906069153992 | https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed |
| 440 | 507 | Perfect Number | 35.5% | Easy | 0.15656906069153992 | https://leetcode.com/problems/perfect-number |
| 441 | 844 | Backspace String Compare | 46.4% | Easy | 0.15656906069153992 | https://leetcode.com/problems/backspace-string-compare |
| 442 | 450 | Delete Node in a BST | 43.1% | Medium | 0.15561959910053247 | https://leetcode.com/problems/delete-node-in-a-bst |
| 443 | 257 | Binary Tree Paths | 51.5% | Easy | 0.15546387765221875 | https://leetcode.com/problems/binary-tree-paths |
| 444 | 335 | Self Crossing | 28.0% | Hard | 0.15535044001916237 | https://leetcode.com/problems/self-crossing |
| 445 | 351 | Android Unlock Patterns | 48.4% | Medium | 0.15521621002929656 | https://leetcode.com/problems/android-unlock-patterns |
| 446 | 1008 | Construct Binary Search Tree from Preorder Traversal | 78.4% | Medium | 0.15488164972391183 | https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal |
| 447 | 847 | Shortest Path Visiting All Nodes | 52.0% | Hard | 0.1541506798272583 | https://leetcode.com/problems/shortest-path-visiting-all-nodes |
| 448 | 686 | Repeated String Match | 32.3% | Easy | 0.1506602748874898 | https://leetcode.com/problems/repeated-string-match |
| 449 | 1242 | Web Crawler Multithreaded | 45.9% | Medium | 0.14953173397096375 | https://leetcode.com/problems/web-crawler-multithreaded |
| 450 | 406 | Queue Reconstruction by Height | 66.9% | Medium | 0.14940738524724317 | https://leetcode.com/problems/queue-reconstruction-by-height |
| 451 | 344 | Reverse String | 68.5% | Easy | 0.14882646558712123 | https://leetcode.com/problems/reverse-string |
| 452 | 541 | Reverse String II | 48.4% | Easy | 0.14881831452142824 | https://leetcode.com/problems/reverse-string-ii |
| 453 | 82 | Remove Duplicates from Sorted List II | 36.8% | Medium | 0.1483524778541147 | https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii |
| 454 | 61 | Rotate List | 30.0% | Medium | 0.1480759782807871 | https://leetcode.com/problems/rotate-list |
| 455 | 849 | Maximize Distance to Closest Person | 42.6% | Easy | 0.14723779073708934 | https://leetcode.com/problems/maximize-distance-to-closest-person |
| 456 | 241 | Different Ways to Add Parentheses | 55.2% | Medium | 0.14691814457724592 | https://leetcode.com/problems/different-ways-to-add-parentheses |
| 457 | 104 | Maximum Depth of Binary Tree | 66.0% | Easy | 0.14586085041092384 | https://leetcode.com/problems/maximum-depth-of-binary-tree |
| 458 | 852 | Peak Index in a Mountain Array | 71.6% | Easy | 0.1445812288111076 | https://leetcode.com/problems/peak-index-in-a-mountain-array |
| 459 | 47 | Permutations II | 46.4% | Medium | 0.14455786186832048 | https://leetcode.com/problems/permutations-ii |
| 460 | 310 | Minimum Height Trees | 32.3% | Medium | 0.143926096421159 | https://leetcode.com/problems/minimum-height-trees |
| 461 | 395 | Longest Substring with At Least K Repeating Characters | 41.4% | Medium | 0.14261022668001652 | https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters |
| 462 | 183 | Customers Who Never Order | 53.4% | Easy | 0.14230985257093545 | https://leetcode.com/problems/customers-who-never-order |
| 463 | 919 | Complete Binary Tree Inserter | 57.3% | Medium | 0.14008879317068168 | https://leetcode.com/problems/complete-binary-tree-inserter |
| 464 | 731 | My Calendar II | 49.1% | Medium | 0.13976194237515868 | https://leetcode.com/problems/my-calendar-ii |
| 465 | 9 | Palindrome Number | 48.4% | Easy | 0.13896461684712066 | https://leetcode.com/problems/palindrome-number |
| 466 | 354 | Russian Doll Envelopes | 35.6% | Hard | 0.13850969523609932 | https://leetcode.com/problems/russian-doll-envelopes |
| 467 | 771 | Jewels and Stones | 86.4% | Easy | 0.13806778839055484 | https://leetcode.com/problems/jewels-and-stones |
| 468 | 1005 | Maximize Sum Of Array After K Negations | 51.3% | Easy | 0.13804422079620546 | https://leetcode.com/problems/maximize-sum-of-array-after-k-negations |
| 469 | 702 | Search in a Sorted Array of Unknown Size | 66.9% | Medium | 0.13783247452391326 | https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size |
| 470 | 250 | Count Univalue Subtrees | 52.0% | Medium | 0.13767409129953323 | https://leetcode.com/problems/count-univalue-subtrees |
| 471 | 299 | Bulls and Cows | 42.4% | Easy | 0.1373584160478243 | https://leetcode.com/problems/bulls-and-cows |
| 472 | 1161 | Maximum Level Sum of a Binary Tree | 72.2% | Medium | 0.13727657783562877 | https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree |
| 473 | 427 | Construct Quad Tree | 61.4% | Medium | 0.13580154115906176 | https://leetcode.com/problems/construct-quad-tree |
| 474 | 1405 | Longest Happy String | 49.0% | Medium | 0.1343297958605471 | https://leetcode.com/problems/longest-happy-string |
| 475 | 732 | My Calendar III | 60.0% | Hard | 0.13397932096347895 | https://leetcode.com/problems/my-calendar-iii |
| 476 | 938 | Range Sum of BST | 81.3% | Easy | 0.13320152292006351 | https://leetcode.com/problems/range-sum-of-bst |
| 477 | 305 | Number of Islands II | 40.1% | Hard | 0.1304306149462744 | https://leetcode.com/problems/number-of-islands-ii |
| 478 | 108 | Convert Sorted Array to Binary Search Tree | 57.9% | Easy | 0.13035872370331572 | https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree |
| 479 | 1117 | Building H2O | 52.6% | Medium | 0.12796988096337653 | https://leetcode.com/problems/building-h2o |
| 480 | 567 | Permutation in String | 44.4% | Medium | 0.1271102185315222 | https://leetcode.com/problems/permutation-in-string |
| 481 | 559 | Maximum Depth of N-ary Tree | 68.7% | Easy | 0.126784545822395 | https://leetcode.com/problems/maximum-depth-of-n-ary-tree |
| 482 | 1059 | All Paths from Source Lead to Destination | 44.7% | Medium | 0.12675170563914387 | https://leetcode.com/problems/all-paths-from-source-lead-to-destination |
| 483 | 359 | Logger Rate Limiter | 70.8% | Easy | 0.1248502028794759 | https://leetcode.com/problems/logger-rate-limiter |
| 484 | 106 | Construct Binary Tree from Inorder and Postorder Traversal | 47.2% | Medium | 0.12381146988063069 | https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal |
| 485 | 873 | Length of Longest Fibonacci Subsequence | 48.0% | Medium | 0.12378418901663191 | https://leetcode.com/problems/length-of-longest-fibonacci-subsequence |
| 486 | 741 | Cherry Pickup | 33.9% | Hard | 0.12293768624504794 | https://leetcode.com/problems/cherry-pickup |
| 487 | 1086 | High Five | 79.7% | Easy | 0.12219606573898939 | https://leetcode.com/problems/high-five |
| 488 | 222 | Count Complete Tree Nodes | 46.8% | Medium | 0.119584908524332 | https://leetcode.com/problems/count-complete-tree-nodes |
| 489 | 1026 | Maximum Difference Between Node and Ancestor | 66.0% | Medium | 0.11947365313429092 | https://leetcode.com/problems/maximum-difference-between-node-and-ancestor |
| 490 | 839 | Similar String Groups | 38.6% | Hard | 0.11934675763256619 | https://leetcode.com/problems/similar-string-groups |
| 491 | 304 | Range Sum Query 2D - Immutable | 38.6% | Medium | 0.11875551458160917 | https://leetcode.com/problems/range-sum-query-2d-immutable |
| 492 | 175 | Combine Two Tables | 60.8% | Easy | 0.11655892700886014 | https://leetcode.com/problems/combine-two-tables |
| 493 | 368 | Largest Divisible Subset | 38.0% | Medium | 0.11624101530456815 | https://leetcode.com/problems/largest-divisible-subset |
| 494 | 160 | Intersection of Two Linked Lists | 40.6% | Easy | 0.11585676607984101 | https://leetcode.com/problems/intersection-of-two-linked-lists |
| 495 | 435 | Non-overlapping Intervals | 42.9% | Medium | 0.1158164666843426 | https://leetcode.com/problems/non-overlapping-intervals |
| 496 | 281 | Zigzag Iterator | 58.4% | Medium | 0.11506932978478719 | https://leetcode.com/problems/zigzag-iterator |
| 497 | 1375 | Bulb Switcher III | 62.6% | Medium | 0.11506932978478719 | https://leetcode.com/problems/bulb-switcher-iii |
| 498 | 515 | Find Largest Value in Each Tree Row | 61.1% | Medium | 0.11375888535665801 | https://leetcode.com/problems/find-largest-value-in-each-tree-row |
| 499 | 339 | Nested List Weight Sum | 74.0% | Easy | 0.11351649636962678 | https://leetcode.com/problems/nested-list-weight-sum |
| 500 | 452 | Minimum Number of Arrows to Burst Balloons | 49.6% | Medium | 0.11303480731768517 | https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons |
| 501 | 742 | Closest Leaf in a Binary Tree | 43.6% | Medium | 0.11060987154397002 | https://leetcode.com/problems/closest-leaf-in-a-binary-tree |
| 502 | 174 | Dungeon Game | 32.3% | Hard | 0.11053338064061342 | https://leetcode.com/problems/dungeon-game |
| 503 | 382 | Linked List Random Node | 52.1% | Medium | 0.11013564249600598 | https://leetcode.com/problems/linked-list-random-node |
| 504 | 924 | Minimize Malware Spread | 42.0% | Hard | 0.10821358464023274 | https://leetcode.com/problems/minimize-malware-spread |
| 505 | 321 | Create Maximum Number | 27.0% | Hard | 0.10821358464023274 | https://leetcode.com/problems/create-maximum-number |
| 506 | 889 | Construct Binary Tree from Preorder and Postorder Traversal | 66.2% | Medium | 0.10711776476069794 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal |
| 507 | 115 | Distinct Subsequences | 38.3% | Hard | 0.10683933709559944 | https://leetcode.com/problems/distinct-subsequences |
| 508 | 966 | Vowel Spellchecker | 47.2% | Medium | 0.10676797542570607 | https://leetcode.com/problems/vowel-spellchecker |
| 509 | 1153 | String Transforms Into Another String | 35.8% | Hard | 0.10623186692973738 | https://leetcode.com/problems/string-transforms-into-another-string |
| 510 | 267 | Palindrome Permutation II | 36.4% | Medium | 0.10345133738802471 | https://leetcode.com/problems/palindrome-permutation-ii |
| 511 | 486 | Predict the Winner | 47.9% | Medium | 0.10306596722039207 | https://leetcode.com/problems/predict-the-winner |
| 512 | 1013 | Partition Array Into Three Parts With Equal Sum | 51.8% | Easy | 0.10294796925244239 | https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum |
| 513 | 393 | UTF-8 Validation | 37.5% | Medium | 0.10212949507637983 | https://leetcode.com/problems/utf-8-validation |
| 514 | 523 | Continuous Subarray Sum | 24.6% | Medium | 0.1016388887348317 | https://leetcode.com/problems/continuous-subarray-sum |
| 515 | 1162 | As Far from Land as Possible | 43.5% | Medium | 0.09876441467241241 | https://leetcode.com/problems/as-far-from-land-as-possible |
| 516 | 1023 | Camelcase Matching | 57.0% | Medium | 0.09860197680453955 | https://leetcode.com/problems/camelcase-matching |
| 517 | 862 | Shortest Subarray with Sum at Least K | 24.6% | Hard | 0.09793753498670578 | https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k |
| 518 | 951 | Flip Equivalent Binary Trees | 65.8% | Medium | 0.09745990610645301 | https://leetcode.com/problems/flip-equivalent-binary-trees |
| 519 | 1202 | Smallest String With Swaps | 46.5% | Medium | 0.09740053011838201 | https://leetcode.com/problems/smallest-string-with-swaps |
| 520 | 100 | Same Tree | 53.4% | Easy | 0.09694519966241283 | https://leetcode.com/problems/same-tree |
| 521 | 390 | Elimination Game | 44.5% | Medium | 0.09576690509200843 | https://leetcode.com/problems/elimination-game |
| 522 | 280 | Wiggle Sort | 63.8% | Medium | 0.09561417737468547 | https://leetcode.com/problems/wiggle-sort |
| 523 | 807 | Max Increase to Keep City Skyline | 83.7% | Medium | 0.09510858722224913 | https://leetcode.com/problems/max-increase-to-keep-city-skyline |
| 524 | 132 | Palindrome Partitioning II | 30.2% | Hard | 0.0943539685775445 | https://leetcode.com/problems/palindrome-partitioning-ii |
| 525 | 720 | Longest Word in Dictionary | 48.2% | Easy | 0.09362342046209744 | https://leetcode.com/problems/longest-word-in-dictionary |
| 526 | 826 | Most Profit Assigning Work | 38.5% | Medium | 0.09287412500644375 | https://leetcode.com/problems/most-profit-assigning-work |
| 527 | 38 | Count and Say | 44.6% | Easy | 0.09192820125669567 | https://leetcode.com/problems/count-and-say |
| 528 | 447 | Number of Boomerangs | 51.8% | Easy | 0.09159716909540325 | https://leetcode.com/problems/number-of-boomerangs |
| 529 | 198 | House Robber | 42.0% | Easy | 0.08994823666293948 | https://leetcode.com/problems/house-robber |
| 530 | 328 | Odd Even Linked List | 55.7% | Medium | 0.08983684638843294 | https://leetcode.com/problems/odd-even-linked-list |
| 531 | 358 | Rearrange String k Distance Apart | 34.9% | Hard | 0.08894748601649616 | https://leetcode.com/problems/rearrange-string-k-distance-apart |
| 532 | 995 | Minimum Number of K Consecutive Bit Flips | 46.8% | Hard | 0.08894748601649616 | https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips |
| 533 | 65 | Valid Number | 15.3% | Hard | 0.08845542056186342 | https://leetcode.com/problems/valid-number |
| 534 | 145 | Binary Tree Postorder Traversal | 55.0% | Hard | 0.08837759395949414 | https://leetcode.com/problems/binary-tree-postorder-traversal |
| 535 | 549 | Binary Tree Longest Consecutive Sequence II | 47.0% | Medium | 0.08816278759467164 | https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii |
| 536 | 433 | Minimum Genetic Mutation | 41.8% | Medium | 0.08701137698962977 | https://leetcode.com/problems/minimum-genetic-mutation |
| 537 | 1247 | Minimum Swaps to Make Strings Equal | 60.1% | Medium | 0.08626034428440695 | https://leetcode.com/problems/minimum-swaps-to-make-strings-equal |
| 538 | 942 | DI String Match | 72.6% | Easy | 0.08495672247596549 | https://leetcode.com/problems/di-string-match |
| 539 | 916 | Word Subsets | 47.8% | Medium | 0.08479653666007693 | https://leetcode.com/problems/word-subsets |
| 540 | 582 | Kill Process | 60.8% | Medium | 0.08355588569097351 | https://leetcode.com/problems/kill-process |
| 541 | 1245 | Tree Diameter | 60.1% | Medium | 0.08338160893905106 | https://leetcode.com/problems/tree-diameter |
| 542 | 905 | Sort Array By Parity | 74.1% | Easy | 0.08328510247304294 | https://leetcode.com/problems/sort-array-by-parity |
| 543 | 841 | Keys and Rooms | 64.3% | Medium | 0.08307836859709818 | https://leetcode.com/problems/keys-and-rooms |
| 544 | 871 | Minimum Number of Refueling Stops | 31.4% | Hard | 0.08252102368800351 | https://leetcode.com/problems/minimum-number-of-refueling-stops |
| 545 | 654 | Maximum Binary Tree | 79.9% | Medium | 0.08000266362507777 | https://leetcode.com/problems/maximum-binary-tree |
| 546 | 884 | Uncommon Words from Two Sentences | 63.3% | Easy | 0.07990051073053109 | https://leetcode.com/problems/uncommon-words-from-two-sentences |
| 547 | 1249 | Minimum Remove to Make Valid Parentheses | 62.5% | Medium | 0.07986504044378952 | https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses |
| 548 | 118 | Pascal's Triangle | 52.5% | Easy | 0.07970401164997687 | https://leetcode.com/problems/pascals-triangle |
| 549 | 60 | Permutation Sequence | 38.4% | Hard | 0.07948571541724253 | https://leetcode.com/problems/permutation-sequence |
| 550 | 875 | Koko Eating Bananas | 52.1% | Medium | 0.07919704166119315 | https://leetcode.com/problems/koko-eating-bananas |
| 551 | 1047 | Remove All Adjacent Duplicates In String | 68.6% | Easy | 0.0789551324793932 | https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string |
| 552 | 784 | Letter Case Permutation | 64.6% | Medium | 0.0787033338274549 | https://leetcode.com/problems/letter-case-permutation |
| 553 | 180 | Consecutive Numbers | 39.7% | Medium | 0.07851014032375832 | https://leetcode.com/problems/consecutive-numbers |
| 554 | 1254 | Number of Closed Islands | 60.5% | Medium | 0.07796154146971186 | https://leetcode.com/problems/number-of-closed-islands |
| 555 | 904 | Fruit Into Baskets | 42.5% | Medium | 0.07767124189113186 | https://leetcode.com/problems/fruit-into-baskets |
| 556 | 125 | Valid Palindrome | 36.7% | Easy | 0.07766984472754161 | https://leetcode.com/problems/valid-palindrome |
| 557 | 977 | Squares of a Sorted Array | 72.1% | Easy | 0.07598590697792203 | https://leetcode.com/problems/squares-of-a-sorted-array |
| 558 | 468 | Validate IP Address | 24.1% | Medium | 0.07598590697792203 | https://leetcode.com/problems/validate-ip-address |
| 559 | 765 | Couples Holding Hands | 54.3% | Hard | 0.07579383936953364 | https://leetcode.com/problems/couples-holding-hands |
| 560 | 217 | Contains Duplicate | 56.0% | Easy | 0.07423027387221347 | https://leetcode.com/problems/contains-duplicate |
| 561 | 974 | Subarray Sums Divisible by K | 48.9% | Medium | 0.07423027387221347 | https://leetcode.com/problems/subarray-sums-divisible-by-k |
| 562 | 184 | Department Highest Salary | 36.7% | Medium | 0.07292523990467245 | https://leetcode.com/problems/department-highest-salary |
| 563 | 539 | Minimum Time Difference | 51.5% | Medium | 0.07236429254889504 | https://leetcode.com/problems/minimum-time-difference |
| 564 | 860 | Lemonade Change | 51.6% | Easy | 0.07208884919207953 | https://leetcode.com/problems/lemonade-change |
| 565 | 290 | Word Pattern | 37.0% | Easy | 0.071651050037288 | https://leetcode.com/problems/word-pattern |
| 566 | 1082 | Sales Analysis I | 71.8% | Easy | 0.07145896398214495 | https://leetcode.com/problems/sales-analysis-i |
| 567 | 570 | Managers with at Least 5 Direct Reports | 66.0% | Medium | 0.07020425867324853 | https://leetcode.com/problems/managers-with-at-least-5-direct-reports |
| 568 | 1146 | Snapshot Array | 37.0% | Medium | 0.07017687679183775 | https://leetcode.com/problems/snapshot-array |
| 569 | 1114 | Print in Order | 65.7% | Easy | 0.0700675626167169 | https://leetcode.com/problems/print-in-order |
| 570 | 621 | Task Scheduler | 50.1% | Medium | 0.06851994643675606 | https://leetcode.com/problems/task-scheduler |
| 571 | 1081 | Smallest Subsequence of Distinct Characters | 50.4% | Medium | 0.06840272688440052 | https://leetcode.com/problems/smallest-subsequence-of-distinct-characters |
| 572 | 171 | Excel Sheet Column Number | 55.9% | Easy | 0.06799791190723256 | https://leetcode.com/problems/excel-sheet-column-number |
| 573 | 1060 | Missing Element in Sorted Array | 54.5% | Medium | 0.06796670413163937 | https://leetcode.com/problems/missing-element-in-sorted-array |
| 574 | 365 | Water and Jug Problem | 30.6% | Medium | 0.06736553182757604 | https://leetcode.com/problems/water-and-jug-problem |
| 575 | 584 | Find Customer Referee | 72.3% | Easy | 0.06592172080482424 | https://leetcode.com/problems/find-customer-referee |
| 576 | 671 | Second Minimum Node In a Binary Tree | 42.7% | Easy | 0.06538275926285174 | https://leetcode.com/problems/second-minimum-node-in-a-binary-tree |
| 577 | 1270 | All People Report to the Given Manager | 87.1% | Medium | 0.06412452816953867 | https://leetcode.com/problems/all-people-report-to-the-given-manager |
| 578 | 855 | Exam Room | 43.1% | Medium | 0.06371581438610768 | https://leetcode.com/problems/exam-room |
| 579 | 413 | Arithmetic Slices | 57.9% | Medium | 0.06286986221654821 | https://leetcode.com/problems/arithmetic-slices |
| 580 | 334 | Increasing Triplet Subsequence | 40.0% | Medium | 0.06274107505168265 | https://leetcode.com/problems/increasing-triplet-subsequence |
| 581 | 1299 | Replace Elements with Greatest Element on Right Side | 75.4% | Easy | 0.06197770027589752 | https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side |
| 582 | 801 | Minimum Swaps To Make Sequences Increasing | 38.9% | Medium | 0.06146327443046864 | https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing |
| 583 | 420 | Strong Password Checker | 14.0% | Hard | 0.061087691979838175 | https://leetcode.com/problems/strong-password-checker |
| 584 | 796 | Rotate String | 49.6% | Easy | 0.059778751425839334 | https://leetcode.com/problems/rotate-string |
| 585 | 931 | Minimum Falling Path Sum | 62.5% | Medium | 0.05914995982464103 | https://leetcode.com/problems/minimum-falling-path-sum |
| 586 | 475 | Heaters | 33.1% | Easy | 0.058155920157074034 | https://leetcode.com/problems/heaters |
| 587 | 52 | N-Queens II | 57.9% | Hard | 0.058155920157074034 | https://leetcode.com/problems/n-queens-ii |
| 588 | 783 | Minimum Distance Between BST Nodes | 52.6% | Easy | 0.05800594958851697 | https://leetcode.com/problems/minimum-distance-between-bst-nodes |
| 589 | 979 | Distribute Coins in Binary Tree | 68.9% | Medium | 0.05800594958851697 | https://leetcode.com/problems/distribute-coins-in-binary-tree |
| 590 | 1233 | Remove Sub-Folders from the Filesystem | 59.5% | Medium | 0.057076831135436705 | https://leetcode.com/problems/remove-sub-folders-from-the-filesystem |
| 591 | 586 | Customer Placing the Largest Number of Orders | 73.0% | Easy | 0.0568334747631659 | https://leetcode.com/problems/customer-placing-the-largest-number-of-orders |
| 592 | 421 | Maximum XOR of Two Numbers in an Array | 53.5% | Medium | 0.055569851154810765 | https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array |
| 593 | 404 | Sum of Left Leaves | 50.9% | Easy | 0.05478946358617918 | https://leetcode.com/problems/sum-of-left-leaves |
| 594 | 345 | Reverse Vowels of a String | 44.2% | Easy | 0.054658412537864055 | https://leetcode.com/problems/reverse-vowels-of-a-string |
| 595 | 557 | Reverse Words in a String III | 69.8% | Easy | 0.05383068775874275 | https://leetcode.com/problems/reverse-words-in-a-string-iii |
| 596 | 714 | Best Time to Buy and Sell Stock with Transaction Fee | 54.7% | Medium | 0.05377639678080413 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee |
| 597 | 719 | Find K-th Smallest Pair Distance | 31.5% | Hard | 0.05370417897186106 | https://leetcode.com/problems/find-k-th-smallest-pair-distance |
| 598 | 679 | 24 Game | 46.4% | Hard | 0.05341723749698583 | https://leetcode.com/problems/24-game |
| 599 | 416 | Partition Equal Subset Sum | 43.7% | Medium | 0.05309102319682948 | https://leetcode.com/problems/partition-equal-subset-sum |
| 600 | 601 | Human Traffic of Stadium | 41.7% | Hard | 0.05223119222544569 | https://leetcode.com/problems/human-traffic-of-stadium |
| 601 | 687 | Longest Univalue Path | 36.2% | Easy | 0.05212529063213289 | https://leetcode.com/problems/longest-univalue-path |
| 602 | 791 | Custom Sort String | 65.7% | Medium | 0.05164658886216683 | https://leetcode.com/problems/custom-sort-string |
| 603 | 429 | N-ary Tree Level Order Traversal | 65.0% | Medium | 0.051616961836787136 | https://leetcode.com/problems/n-ary-tree-level-order-traversal |
| 604 | 66 | Plus One | 43.0% | Easy | 0.05095832569582088 | https://leetcode.com/problems/plus-one |
| 605 | 1339 | Maximum Product of Splitted Binary Tree | 37.2% | Medium | 0.05064373281875492 | https://leetcode.com/problems/maximum-product-of-splitted-binary-tree |
| 606 | 617 | Merge Two Binary Trees | 74.1% | Easy | 0.05055666138939678 | https://leetcode.com/problems/merge-two-binary-trees |
| 607 | 681 | Next Closest Time | 45.0% | Medium | 0.05045206096038863 | https://leetcode.com/problems/next-closest-time |
| 608 | 684 | Redundant Connection | 57.4% | Medium | 0.05020574670015159 | https://leetcode.com/problems/redundant-connection |
| 609 | 792 | Number of Matching Subsequences | 47.4% | Medium | 0.04976150955906385 | https://leetcode.com/problems/number-of-matching-subsequences |
| 610 | 77 | Combinations | 54.7% | Medium | 0.04928622947983693 | https://leetcode.com/problems/combinations |
| 611 | 67 | Add Binary | 45.2% | Easy | 0.049093096377302976 | https://leetcode.com/problems/add-binary |
| 612 | 1267 | Count Servers that Communicate | 57.9% | Medium | 0.04902942724031861 | https://leetcode.com/problems/count-servers-that-communicate |
| 613 | 725 | Split Linked List in Parts | 52.2% | Medium | 0.04603804920255727 | https://leetcode.com/problems/split-linked-list-in-parts |
| 614 | 1248 | Count Number of Nice Subarrays | 56.4% | Medium | 0.04593229889743518 | https://leetcode.com/problems/count-number-of-nice-subarrays |
| 615 | 856 | Score of Parentheses | 60.5% | Medium | 0.04567003683318837 | https://leetcode.com/problems/score-of-parentheses |
| 616 | 151 | Reverse Words in a String | 21.9% | Medium | 0.04549485717913582 | https://leetcode.com/problems/reverse-words-in-a-string |
| 617 | 1108 | Defanging an IP Address | 87.5% | Easy | 0.044971606629326595 | https://leetcode.com/problems/defanging-an-ip-address |
| 618 | 1382 | Balance a Binary Search Tree | 74.8% | Medium | 0.04480032475536626 | https://leetcode.com/problems/balance-a-binary-search-tree |
| 619 | 493 | Reverse Pairs | 25.2% | Hard | 0.043110123653728516 | https://leetcode.com/problems/reverse-pairs |
| 620 | 704 | Binary Search | 52.1% | Easy | 0.04172704422666836 | https://leetcode.com/problems/binary-search |
| 621 | 532 | K-diff Pairs in an Array | 31.6% | Easy | 0.041672696400568025 | https://leetcode.com/problems/k-diff-pairs-in-an-array |
| 622 | 590 | N-ary Tree Postorder Traversal | 72.1% | Easy | 0.040454954692313666 | https://leetcode.com/problems/n-ary-tree-postorder-traversal |
| 623 | 918 | Maximum Sum Circular Subarray | 33.7% | Medium | 0.04045040846284272 | https://leetcode.com/problems/maximum-sum-circular-subarray |
| 624 | 142 | Linked List Cycle II | 37.3% | Medium | 0.04034106216103786 | https://leetcode.com/problems/linked-list-cycle-ii |
| 625 | 107 | Binary Tree Level Order Traversal II | 53.5% | Easy | 0.03948712621281427 | https://leetcode.com/problems/binary-tree-level-order-traversal-ii |
| 626 | 1049 | Last Stone Weight II | 44.2% | Medium | 0.03902934390573525 | https://leetcode.com/problems/last-stone-weight-ii |
| 627 | 657 | Robot Return to Origin | 73.5% | Easy | 0.03896596853338373 | https://leetcode.com/problems/robot-return-to-origin |
| 628 | 231 | Power of Two | 43.7% | Easy | 0.0383924310382344 | https://leetcode.com/problems/power-of-two |
| 629 | 1110 | Delete Nodes And Return Forest | 67.0% | Medium | 0.03698038470938097 | https://leetcode.com/problems/delete-nodes-and-return-forest |
| 630 | 646 | Maximum Length of Pair Chain | 51.9% | Medium | 0.036870535808327706 | https://leetcode.com/problems/maximum-length-of-pair-chain |
| 631 | 626 | Exchange Seats | 62.3% | Medium | 0.03676884778708897 | https://leetcode.com/problems/exchange-seats |
| 632 | 376 | Wiggle Subsequence | 39.6% | Medium | 0.03666771919188123 | https://leetcode.com/problems/wiggle-subsequence |
| 633 | 673 | Number of Longest Increasing Subsequence | 35.7% | Medium | 0.036467121912812143 | https://leetcode.com/problems/number-of-longest-increasing-subsequence |
| 634 | 1029 | Two City Scheduling | 56.1% | Easy | 0.03633827343880724 | https://leetcode.com/problems/two-city-scheduling |
| 635 | 43 | Multiply Strings | 33.9% | Medium | 0.03608871558298825 | https://leetcode.com/problems/multiply-strings |
| 636 | 705 | Design HashSet | 64.3% | Easy | 0.03401688527825427 | https://leetcode.com/problems/design-hashset |
| 637 | 561 | Array Partition I | 72.0% | Easy | 0.033850542978687455 | https://leetcode.com/problems/array-partition-i |
| 638 | 912 | Sort an Array | 63.9% | Medium | 0.03218010960381167 | https://leetcode.com/problems/sort-an-array |
| 639 | 953 | Verifying an Alien Dictionary | 54.1% | Easy | 0.03117337947619734 | https://leetcode.com/problems/verifying-an-alien-dictionary |
| 640 | 814 | Binary Tree Pruning | 74.5% | Medium | 0.03113091859517317 | https://leetcode.com/problems/binary-tree-pruning |
| 641 | 1179 | Reformat Department Table | 80.6% | Easy | 0.030653741091002412 | https://leetcode.com/problems/reformat-department-table |
| 642 | 1027 | Longest Arithmetic Sequence | 53.4% | Medium | 0.03030534949532895 | https://leetcode.com/problems/longest-arithmetic-sequence |
| 643 | 319 | Bulb Switcher | 45.4% | Medium | 0.029852963149681156 | https://leetcode.com/problems/bulb-switcher |
| 644 | 501 | Find Mode in Binary Search Tree | 42.4% | Easy | 0.029808466297826082 | https://leetcode.com/problems/find-mode-in-binary-search-tree |
| 645 | 191 | Number of 1 Bits | 49.8% | Easy | 0.029560622742018188 | https://leetcode.com/problems/number-of-1-bits |
| 646 | 779 | K-th Symbol in Grammar | 37.2% | Medium | 0.029050699422092676 | https://leetcode.com/problems/k-th-symbol-in-grammar |
| 647 | 219 | Contains Duplicate II | 37.7% | Easy | 0.028500979167549973 | https://leetcode.com/problems/contains-duplicate-ii |
| 648 | 213 | House Robber II | 36.5% | Medium | 0.028250466285851712 | https://leetcode.com/problems/house-robber-ii |
| 649 | 811 | Subdomain Visit Count | 69.9% | Easy | 0.02772180293027194 | https://leetcode.com/problems/subdomain-visit-count |
| 650 | 311 | Sparse Matrix Multiplication | 61.9% | Medium | 0.027702602549335792 | https://leetcode.com/problems/sparse-matrix-multiplication |
| 651 | 249 | Group Shifted Strings | 55.1% | Medium | 0.0276069982440099 | https://leetcode.com/problems/group-shifted-strings |
| 652 | 119 | Pascal's Triangle II | 49.0% | Easy | 0.026565907037593445 | https://leetcode.com/problems/pascals-triangle-ii |
| 653 | 158 | Read N Characters Given Read4 II - Call multiple times | 33.8% | Hard | 0.026196651946570663 | https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times |
| 654 | 203 | Remove Linked List Elements | 38.6% | Easy | 0.025668142709851988 | https://leetcode.com/problems/remove-linked-list-elements |
| 655 | 1395 | Count Number of Teams | 82.0% | Medium | 0.025462865161248044 | https://leetcode.com/problems/count-number-of-teams |
| 656 | 752 | Open the Lock | 51.8% | Medium | 0.024586364440127736 | https://leetcode.com/problems/open-the-lock |
| 657 | 605 | Can Place Flowers | 31.6% | Easy | 0.02457126073050533 | https://leetcode.com/problems/can-place-flowers |
| 658 | 338 | Counting Bits | 69.5% | Medium | 0.024325523767440974 | https://leetcode.com/problems/counting-bits |
| 659 | 414 | Third Maximum Number | 30.5% | Easy | 0.023155137938555212 | https://leetcode.com/problems/third-maximum-number |
| 660 | 1160 | Find Words That Can Be Formed by Characters | 67.4% | Easy | 0.02262539951797868 | https://leetcode.com/problems/find-words-that-can-be-formed-by-characters |
| 661 | 216 | Combination Sum III | 56.6% | Medium | 0.02261260849011709 | https://leetcode.com/problems/combination-sum-iii |
| 662 | 746 | Min Cost Climbing Stairs | 50.3% | Easy | 0.021957456927373643 | https://leetcode.com/problems/min-cost-climbing-stairs |
| 663 | 958 | Check Completeness of a Binary Tree | 52.1% | Medium | 0.021763644636359686 | https://leetcode.com/problems/check-completeness-of-a-binary-tree |
| 664 | 1520 | Maximum Number of Non-Overlapping Substrings | 32.8% | Hard | 0.021485667755491482 | https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings |
| 665 | 921 | Minimum Add to Make Parentheses Valid | 73.7% | Medium | 0.021425565169310254 | https://leetcode.com/problems/minimum-add-to-make-parentheses-valid |
| 666 | 459 | Repeated Substring Pattern | 42.2% | Easy | 0.021402636114384706 | https://leetcode.com/problems/repeated-substring-pattern |
| 667 | 485 | Max Consecutive Ones | 54.6% | Easy | 0.021092266245534258 | https://leetcode.com/problems/max-consecutive-ones |
| 668 | 377 | Combination Sum IV | 45.3% | Medium | 0.02087758502155521 | https://leetcode.com/problems/combination-sum-iv |
| 669 | 670 | Maximum Swap | 43.6% | Medium | 0.020844944430365928 | https://leetcode.com/problems/maximum-swap |
| 670 | 392 | Is Subsequence | 49.2% | Easy | 0.02033508842008217 | https://leetcode.com/problems/is-subsequence |
| 671 | 166 | Fraction to Recurring Decimal | 21.6% | Medium | 0.02015181543730795 | https://leetcode.com/problems/fraction-to-recurring-decimal |
| 672 | 1048 | Longest String Chain | 54.7% | Medium | 0.019361689049145963 | https://leetcode.com/problems/longest-string-chain |
| 673 | 669 | Trim a Binary Search Tree | 63.0% | Easy | 0.019139340210697423 | https://leetcode.com/problems/trim-a-binary-search-tree |
| 674 | 674 | Longest Continuous Increasing Subsequence | 45.9% | Easy | 0.01900294712561538 | https://leetcode.com/problems/longest-continuous-increasing-subsequence |
| 675 | 196 | Delete Duplicate Emails | 41.1% | Easy | 0.018735911057469818 | https://leetcode.com/problems/delete-duplicate-emails |
| 676 | 965 | Univalued Binary Tree | 67.7% | Easy | 0.018665964249802672 | https://leetcode.com/problems/univalued-binary-tree |
| 677 | 35 | Search Insert Position | 42.6% | Easy | 0.018459222797986813 | https://leetcode.com/problems/search-insert-position |
| 678 | 260 | Single Number III | 64.3% | Medium | 0.01811279141389457 | https://leetcode.com/problems/single-number-iii |
| 679 | 309 | Best Time to Buy and Sell Stock with Cooldown | 47.4% | Medium | 0.01767954966181075 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown |
| 680 | 383 | Ransom Note | 53.1% | Easy | 0.017621601349819518 | https://leetcode.com/problems/ransom-note |
| 681 | 872 | Leaf-Similar Trees | 64.5% | Easy | 0.01752125418714782 | https://leetcode.com/problems/leaf-similar-trees |
| 682 | 26 | Remove Duplicates from Sorted Array | 45.1% | Easy | 0.017426260234777304 | https://leetcode.com/problems/remove-duplicates-from-sorted-array |
| 683 | 1266 | Minimum Time Visiting All Points | 79.6% | Easy | 0.017354014693151613 | https://leetcode.com/problems/minimum-time-visiting-all-points |
| 684 | 876 | Middle of the Linked List | 68.4% | Easy | 0.01707497375257815 | https://leetcode.com/problems/middle-of-the-linked-list |
| 685 | 389 | Find the Difference | 55.3% | Easy | 0.016978336534417868 | https://leetcode.com/problems/find-the-difference |
| 686 | 95 | Unique Binary Search Trees II | 40.6% | Medium | 0.016856699181010838 | https://leetcode.com/problems/unique-binary-search-trees-ii |
| 687 | 1304 | Find N Unique Integers Sum up to Zero | 76.3% | Easy | 0.015892269319508656 | https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero |
| 688 | 707 | Design Linked List | 24.5% | Medium | 0.015054857167065819 | https://leetcode.com/problems/design-linked-list |
| 689 | 367 | Valid Perfect Square | 41.7% | Easy | 0.014992784586141334 | https://leetcode.com/problems/valid-perfect-square |
| 690 | 80 | Remove Duplicates from Sorted Array II | 44.0% | Medium | 0.014815085785140639 | https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii |
| 691 | 371 | Sum of Two Integers | 50.7% | Medium | 0.014064929467403538 | https://leetcode.com/problems/sum-of-two-integers |
| 692 | 724 | Find Pivot Index | 44.0% | Easy | 0.013850636933899008 | https://leetcode.com/problems/find-pivot-index |
| 693 | 144 | Binary Tree Preorder Traversal | 55.7% | Medium | 0.013667638728663807 | https://leetcode.com/problems/binary-tree-preorder-traversal |
| 694 | 303 | Range Sum Query - Immutable | 44.7% | Easy | 0.013240842236997532 | https://leetcode.com/problems/range-sum-query-immutable |
| 695 | 154 | Find Minimum in Rotated Sorted Array II | 41.6% | Hard | 0.013222109274363887 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii |
| 696 | 665 | Non-decreasing Array | 19.5% | Easy | 0.013016779950191773 | https://leetcode.com/problems/non-decreasing-array |
| 697 | 172 | Factorial Trailing Zeroes | 37.8% | Easy | 0.012326812480658571 | https://leetcode.com/problems/factorial-trailing-zeroes |
| 698 | 237 | Delete Node in a Linked List | 63.8% | Easy | 0.01153858955649377 | https://leetcode.com/problems/delete-node-in-a-linked-list |
| 699 | 1051 | Height Checker | 71.1% | Easy | 0.011468015591641189 | https://leetcode.com/problems/height-checker |
| 700 | 797 | All Paths From Source to Target | 77.9% | Medium | 0.009845021678804893 | https://leetcode.com/problems/all-paths-from-source-to-target |
| 701 | 1221 | Split a String in Balanced Strings | 83.3% | Easy | 0.008775835172724969 | https://leetcode.com/problems/split-a-string-in-balanced-strings |
| 702 | 461 | Hamming Distance | 72.8% | Easy | 0.00833685528906183 | https://leetcode.com/problems/hamming-distance |
| 703 | 1344 | Angle Between Hands of a Clock | 61.4% | Medium | 0.007795031188053973 | https://leetcode.com/problems/angle-between-hands-of-a-clock |
| 704 | 1365 | How Many Numbers Are Smaller Than the Current Number | 85.6% | Easy | 0.007109877088701047 | https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number |
| 705 | 111 | Minimum Depth of Binary Tree | 37.4% | Easy | 0.0066203485760693214 | https://leetcode.com/problems/minimum-depth-of-binary-tree |
| 706 | 1431 | Kids With the Greatest Number of Candies | 88.9% | Easy | 0.005927699633275225 | https://leetcode.com/problems/kids-with-the-greatest-number-of-candies |
| 707 | 278 | First Bad Version | 35.7% | Easy | 0.005391575265790431 | https://leetcode.com/problems/first-bad-version |
| 708 | 27 | Remove Element | 48.2% | Easy | 0.0035524016043678225 | https://leetcode.com/problems/remove-element |
| 709 | 190 | Reverse Bits | 39.8% | Easy | 0.0018316700789167337 | https://leetcode.com/problems/reverse-bits |