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)
```
69 KiB
69 KiB
| 1 | ID | Title | Acceptance | Difficulty | Frequency | Leetcode Question Link |
|---|---|---|---|---|---|---|
| 2 | 937 | Reorder Data in Log Files | 54.3% | Easy | 3.9944355947998136 | https://leetcode.com/problems/reorder-data-in-log-files |
| 3 | 1192 | Critical Connections in a Network | 48.6% | Hard | 3.925598813161921 | https://leetcode.com/problems/critical-connections-in-a-network |
| 4 | 200 | Number of Islands | 46.8% | Medium | 3.7781578407565197 | https://leetcode.com/problems/number-of-islands |
| 5 | 994 | Rotting Oranges | 49.2% | Medium | 3.6307168683511186 | https://leetcode.com/problems/rotting-oranges |
| 6 | 819 | Most Common Word | 44.8% | Easy | 3.4832758959457175 | https://leetcode.com/problems/most-common-word |
| 7 | 138 | Copy List with Random Pointer | 36.4% | Medium | 3.452672602379887 | https://leetcode.com/problems/copy-list-with-random-pointer |
| 8 | 763 | Partition Labels | 76.1% | Medium | 3.305231629974486 | https://leetcode.com/problems/partition-labels |
| 9 | 692 | Top K Frequent Words | 51.8% | Medium | 3.256820919958484 | https://leetcode.com/problems/top-k-frequent-words |
| 10 | 146 | LRU Cache | 33.2% | Medium | 3.109379947553083 | https://leetcode.com/problems/lru-cache |
| 11 | 1 | Two Sum | 45.6% | Easy | 2.9619389751476817 | https://leetcode.com/problems/two-sum |
| 12 | 572 | Subtree of Another Tree | 44.1% | Easy | 2.945568993322194 | https://leetcode.com/problems/subtree-of-another-tree |
| 13 | 240 | Search a 2D Matrix II | 43.2% | Medium | 2.798128020916793 | https://leetcode.com/problems/search-a-2d-matrix-ii |
| 14 | 5 | Longest Palindromic Substring | 29.5% | Medium | 2.7358200747627843 | https://leetcode.com/problems/longest-palindromic-substring |
| 15 | 21 | Merge Two Sorted Lists | 53.5% | Easy | 2.678307039145778 | https://leetcode.com/problems/merge-two-sorted-lists |
| 16 | 472 | Concatenated Words | 43.7% | Hard | 2.636650106787832 | https://leetcode.com/problems/concatenated-words |
| 17 | 973 | K Closest Points to Origin | 63.8% | Medium | 2.6240138122465444 | https://leetcode.com/problems/k-closest-points-to-origin |
| 18 | 23 | Merge k Sorted Lists | 40.2% | Hard | 2.5524109933277668 | https://leetcode.com/problems/merge-k-sorted-lists |
| 19 | 1167 | Minimum Cost to Connect Sticks | 62.8% | Medium | 2.423130930639536 | https://leetcode.com/problems/minimum-cost-to-connect-sticks |
| 20 | 957 | Prison Cells After N Days | 40.7% | Medium | 2.42269136604331 | https://leetcode.com/problems/prison-cells-after-n-days |
| 21 | 295 | Find Median from Data Stream | 44.3% | Hard | 2.3279113755186978 | https://leetcode.com/problems/find-median-from-data-stream |
| 22 | 42 | Trapping Rain Water | 48.9% | Hard | 2.204080367616883 | https://leetcode.com/problems/trapping-rain-water |
| 23 | 1152 | Analyze User Website Visit Pattern | 43.5% | Medium | 2.1610636126719283 | https://leetcode.com/problems/analyze-user-website-visit-pattern |
| 24 | 1268 | Search Suggestions System | 63.2% | Medium | 2.157831912757614 | https://leetcode.com/problems/search-suggestions-system |
| 25 | 588 | Design In-Memory File System | 45.9% | Hard | 2.113625008500926 | https://leetcode.com/problems/design-in-memory-file-system |
| 26 | 460 | LFU Cache | 34.2% | Hard | 2.029678026599572 | https://leetcode.com/problems/lfu-cache |
| 27 | 297 | Serialize and Deserialize Binary Tree | 47.5% | Hard | 1.882237054194171 | https://leetcode.com/problems/serialize-and-deserialize-binary-tree |
| 28 | 642 | Design Search Autocomplete System | 44.7% | Hard | 1.850014447447311 | https://leetcode.com/problems/design-search-autocomplete-system |
| 29 | 348 | Design Tic-Tac-Toe | 54.3% | Medium | 1.8169700410705985 | https://leetcode.com/problems/design-tic-tac-toe |
| 30 | 127 | Word Ladder | 29.6% | Medium | 1.798979717201542 | https://leetcode.com/problems/word-ladder |
| 31 | 694 | Number of Distinct Islands | 56.0% | Medium | 1.6879409739220441 | https://leetcode.com/problems/number-of-distinct-islands |
| 32 | 212 | Word Search II | 34.9% | Hard | 1.679541552723447 | https://leetcode.com/problems/word-search-ii |
| 33 | 126 | Word Ladder II | 22.1% | Hard | 1.6793805521461769 | https://leetcode.com/problems/word-ladder-ii |
| 34 | 253 | Meeting Rooms II | 45.7% | Medium | 1.6660486200337488 | https://leetcode.com/problems/meeting-rooms-ii |
| 35 | 273 | Integer to English Words | 27.1% | Hard | 1.5969629753826686 | https://leetcode.com/problems/integer-to-english-words |
| 36 | 1102 | Path With Maximum Minimum Value | 49.2% | Medium | 1.586376093728572 | https://leetcode.com/problems/path-with-maximum-minimum-value |
| 37 | 866 | Prime Palindrome | 24.9% | Medium | 1.5508753832260214 | https://leetcode.com/problems/prime-palindrome |
| 38 | 380 | Insert Delete GetRandom O(1) | 47.5% | Medium | 1.4345204100538291 | https://leetcode.com/problems/insert-delete-getrandom-o1 |
| 39 | 1099 | Two Sum Less Than K | 60.6% | Easy | 1.374401545094067 | https://leetcode.com/problems/two-sum-less-than-k |
| 40 | 2 | Add Two Numbers | 33.9% | Medium | 1.309433027705025 | https://leetcode.com/problems/add-two-numbers |
| 41 | 121 | Best Time to Buy and Sell Stock | 50.5% | Easy | 1.3027850571141735 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock |
| 42 | 49 | Group Anagrams | 56.9% | Medium | 1.2743748777523694 | https://leetcode.com/problems/group-anagrams |
| 43 | 139 | Word Break | 40.1% | Medium | 1.2351186358489528 | https://leetcode.com/problems/word-break |
| 44 | 20 | Valid Parentheses | 39.0% | Easy | 1.1894789144026565 | https://leetcode.com/problems/valid-parentheses |
| 45 | 863 | All Nodes Distance K in Binary Tree | 55.4% | Medium | 1.1822332875060502 | https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree |
| 46 | 1000 | Minimum Cost to Merge Stones | 39.8% | Hard | 1.1653622592057065 | https://leetcode.com/problems/minimum-cost-to-merge-stones |
| 47 | 15 | 3Sum | 26.8% | Medium | 1.1582544171399092 | https://leetcode.com/problems/3sum |
| 48 | 269 | Alien Dictionary | 33.3% | Hard | 1.152241098330318 | https://leetcode.com/problems/alien-dictionary |
| 49 | 239 | Sliding Window Maximum | 43.0% | Hard | 1.1502557728555012 | https://leetcode.com/problems/sliding-window-maximum |
| 50 | 545 | Boundary of Binary Tree | 38.9% | Medium | 1.1251501588677701 | https://leetcode.com/problems/boundary-of-binary-tree |
| 51 | 909 | Snakes and Ladders | 38.4% | Medium | 1.0669891002375975 | https://leetcode.com/problems/snakes-and-ladders |
| 52 | 733 | Flood Fill | 55.3% | Easy | 1.0669060422540164 | https://leetcode.com/problems/flood-fill |
| 53 | 99 | Recover Binary Search Tree | 39.7% | Hard | 1.0625115814692296 | https://leetcode.com/problems/recover-binary-search-tree |
| 54 | 238 | Product of Array Except Self | 60.1% | Medium | 1.0368856026788111 | https://leetcode.com/problems/product-of-array-except-self |
| 55 | 155 | Min Stack | 44.5% | Easy | 1.0332086228823416 | https://leetcode.com/problems/min-stack |
| 56 | 3 | Longest Substring Without Repeating Characters | 30.4% | Medium | 0.9915478841688382 | https://leetcode.com/problems/longest-substring-without-repeating-characters |
| 57 | 490 | The Maze | 51.4% | Medium | 0.9467105081323941 | https://leetcode.com/problems/the-maze |
| 58 | 353 | Design Snake Game | 34.2% | Medium | 0.9400316341694208 | https://leetcode.com/problems/design-snake-game |
| 59 | 322 | Coin Change | 35.5% | Medium | 0.930364459085817 | https://leetcode.com/problems/coin-change |
| 60 | 17 | Letter Combinations of a Phone Number | 46.8% | Medium | 0.9202313417131626 | https://leetcode.com/problems/letter-combinations-of-a-phone-number |
| 61 | 140 | Word Break II | 32.6% | Hard | 0.915097284840888 | https://leetcode.com/problems/word-break-ii |
| 62 | 54 | Spiral Matrix | 34.1% | Medium | 0.9117152787807635 | https://leetcode.com/problems/spiral-matrix |
| 63 | 53 | Maximum Subarray | 46.5% | Easy | 0.9028149401651969 | https://leetcode.com/problems/maximum-subarray |
| 64 | 74 | Search a 2D Matrix | 36.5% | Medium | 0.9027789280658293 | https://leetcode.com/problems/search-a-2d-matrix |
| 65 | 56 | Merge Intervals | 39.3% | Medium | 0.8719401675539429 | https://leetcode.com/problems/merge-intervals |
| 66 | 1155 | Number of Dice Rolls With Target Sum | 49.0% | Medium | 0.8666032186425704 | https://leetcode.com/problems/number-of-dice-rolls-with-target-sum |
| 67 | 227 | Basic Calculator II | 36.9% | Medium | 0.865227243301703 | https://leetcode.com/problems/basic-calculator-ii |
| 68 | 33 | Search in Rotated Sorted Array | 34.5% | Medium | 0.8584888773941517 | https://leetcode.com/problems/search-in-rotated-sorted-array |
| 69 | 224 | Basic Calculator | 36.8% | Hard | 0.8569364892249722 | https://leetcode.com/problems/basic-calculator |
| 70 | 12 | Integer to Roman | 55.1% | Medium | 0.8496820889352563 | https://leetcode.com/problems/integer-to-roman |
| 71 | 815 | Bus Routes | 42.5% | Hard | 0.8477684486311822 | https://leetcode.com/problems/bus-routes |
| 72 | 772 | Basic Calculator III | 41.3% | Hard | 0.8430873278508602 | https://leetcode.com/problems/basic-calculator-iii |
| 73 | 706 | Design HashMap | 61.3% | Easy | 0.8231356111081237 | https://leetcode.com/problems/design-hashmap |
| 74 | 981 | Time Based Key-Value Store | 53.1% | Medium | 0.8180951326968029 | https://leetcode.com/problems/time-based-key-value-store |
| 75 | 456 | 132 Pattern | 28.9% | Medium | 0.8138174114576592 | https://leetcode.com/problems/132-pattern |
| 76 | 759 | Employee Free Time | 66.2% | Hard | 0.8088525092565556 | https://leetcode.com/problems/employee-free-time |
| 77 | 437 | Path Sum III | 47.2% | Medium | 0.7976226188683302 | https://leetcode.com/problems/path-sum-iii |
| 78 | 503 | Next Greater Element II | 56.5% | Medium | 0.7968165955277405 | https://leetcode.com/problems/next-greater-element-ii |
| 79 | 208 | Implement Trie (Prefix Tree) | 49.4% | Medium | 0.7928548865863879 | https://leetcode.com/problems/implement-trie-prefix-tree |
| 80 | 236 | Lowest Common Ancestor of a Binary Tree | 45.7% | Medium | 0.7928508522150108 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree |
| 81 | 97 | Interleaving String | 31.5% | Hard | 0.7716773297315191 | https://leetcode.com/problems/interleaving-string |
| 82 | 1091 | Shortest Path in Binary Matrix | 38.2% | Medium | 0.7689762247924476 | https://leetcode.com/problems/shortest-path-in-binary-matrix |
| 83 | 173 | Binary Search Tree Iterator | 56.6% | Medium | 0.7549245402561885 | https://leetcode.com/problems/binary-search-tree-iterator |
| 84 | 980 | Unique Paths III | 73.3% | Hard | 0.7472144018302211 | https://leetcode.com/problems/unique-paths-iii |
| 85 | 277 | Find the Celebrity | 41.8% | Medium | 0.7348429454547184 | https://leetcode.com/problems/find-the-celebrity |
| 86 | 496 | Next Greater Element I | 63.8% | Easy | 0.7306413849875257 | https://leetcode.com/problems/next-greater-element-i |
| 87 | 535 | Encode and Decode TinyURL | 79.9% | Medium | 0.7284232783609871 | https://leetcode.com/problems/encode-and-decode-tinyurl |
| 88 | 4 | Median of Two Sorted Arrays | 29.6% | Hard | 0.7245935911034281 | https://leetcode.com/problems/median-of-two-sorted-arrays |
| 89 | 45 | Jump Game II | 30.6% | Hard | 0.7215178776891609 | https://leetcode.com/problems/jump-game-ii |
| 90 | 726 | Number of Atoms | 49.0% | Hard | 0.7191226669632059 | https://leetcode.com/problems/number-of-atoms |
| 91 | 211 | Add and Search Word - Data structure design | 38.1% | Medium | 0.7175070272224768 | https://leetcode.com/problems/add-and-search-word-data-structure-design |
| 92 | 64 | Minimum Path Sum | 54.5% | Medium | 0.7123229317280146 | https://leetcode.com/problems/minimum-path-sum |
| 93 | 1044 | Longest Duplicate Substring | 31.9% | Hard | 0.707512950361979 | https://leetcode.com/problems/longest-duplicate-substring |
| 94 | 314 | Binary Tree Vertical Order Traversal | 45.3% | Medium | 0.7042169874893927 | https://leetcode.com/problems/binary-tree-vertical-order-traversal |
| 95 | 739 | Daily Temperatures | 63.3% | Medium | 0.697297868866036 | https://leetcode.com/problems/daily-temperatures |
| 96 | 394 | Decode String | 50.0% | Medium | 0.6892445361899827 | https://leetcode.com/problems/decode-string |
| 97 | 323 | Number of Connected Components in an Undirected Graph | 56.0% | Medium | 0.6754476034605444 | https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph |
| 98 | 449 | Serialize and Deserialize BST | 52.0% | Medium | 0.6727822146017972 | https://leetcode.com/problems/serialize-and-deserialize-bst |
| 99 | 403 | Frog Jump | 39.7% | Hard | 0.6655201946784034 | https://leetcode.com/problems/frog-jump |
| 100 | 143 | Reorder List | 37.1% | Medium | 0.6644936178538985 | https://leetcode.com/problems/reorder-list |
| 101 | 11 | Container With Most Water | 50.8% | Medium | 0.6631685190860763 | https://leetcode.com/problems/container-with-most-water |
| 102 | 1038 | Binary Search Tree to Greater Sum Tree | 80.8% | Medium | 0.6563976383512038 | https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree |
| 103 | 640 | Solve the Equation | 42.0% | Medium | 0.648363577932972 | https://leetcode.com/problems/solve-the-equation |
| 104 | 895 | Maximum Frequency Stack | 60.6% | Hard | 0.6397557387655486 | https://leetcode.com/problems/maximum-frequency-stack |
| 105 | 165 | Compare Version Numbers | 27.4% | Medium | 0.6394004632572682 | https://leetcode.com/problems/compare-version-numbers |
| 106 | 210 | Course Schedule II | 40.7% | Medium | 0.6329329320920142 | https://leetcode.com/problems/course-schedule-ii |
| 107 | 91 | Decode Ways | 24.7% | Medium | 0.6216605021582633 | https://leetcode.com/problems/decode-ways |
| 108 | 767 | Reorganize String | 48.7% | Medium | 0.6188332351820143 | https://leetcode.com/problems/reorganize-string |
| 109 | 1219 | Path with Maximum Gold | 65.1% | Medium | 0.6151572787436681 | https://leetcode.com/problems/path-with-maximum-gold |
| 110 | 543 | Diameter of Binary Tree | 48.4% | Easy | 0.6049865380663455 | https://leetcode.com/problems/diameter-of-binary-tree |
| 111 | 399 | Evaluate Division | 51.6% | Medium | 0.6025713727780729 | https://leetcode.com/problems/evaluate-division |
| 112 | 109 | Convert Sorted List to Binary Search Tree | 47.7% | Medium | 0.5978370007556205 | https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree |
| 113 | 1214 | Two Sum BSTs | 67.6% | Medium | 0.5957174923400869 | https://leetcode.com/problems/two-sum-bsts |
| 114 | 721 | Accounts Merge | 48.8% | Medium | 0.5908536653497264 | https://leetcode.com/problems/accounts-merge |
| 115 | 445 | Add Two Numbers II | 54.5% | Medium | 0.5844726602120818 | https://leetcode.com/problems/add-two-numbers-ii |
| 116 | 55 | Jump Game | 34.6% | Medium | 0.5804024133599197 | https://leetcode.com/problems/jump-game |
| 117 | 317 | Shortest Distance from All Buildings | 41.4% | Hard | 0.5785023490481647 | https://leetcode.com/problems/shortest-distance-from-all-buildings |
| 118 | 362 | Design Hit Counter | 63.7% | Medium | 0.5752838074863666 | https://leetcode.com/problems/design-hit-counter |
| 119 | 634 | Find the Derangement of An Array | 40.1% | Medium | 0.5623075796011341 | https://leetcode.com/problems/find-the-derangement-of-an-array |
| 120 | 987 | Vertical Order Traversal of a Binary Tree | 36.6% | Medium | 0.5577804658218486 | https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree |
| 121 | 105 | Construct Binary Tree from Preorder and Inorder Traversal | 48.8% | Medium | 0.5575777917297663 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal |
| 122 | 289 | Game of Life | 54.5% | Medium | 0.552915490474362 | https://leetcode.com/problems/game-of-life |
| 123 | 489 | Robot Room Cleaner | 69.7% | Hard | 0.5479829869763493 | https://leetcode.com/problems/robot-room-cleaner |
| 124 | 341 | Flatten Nested List Iterator | 52.9% | Medium | 0.5461187395622055 | https://leetcode.com/problems/flatten-nested-list-iterator |
| 125 | 93 | Restore IP Addresses | 35.6% | Medium | 0.541488403342866 | https://leetcode.com/problems/restore-ip-addresses |
| 126 | 207 | Course Schedule | 43.1% | Medium | 0.5403433580969076 | https://leetcode.com/problems/course-schedule |
| 127 | 770 | Basic Calculator IV | 48.1% | Hard | 0.538996500732687 | https://leetcode.com/problems/basic-calculator-iv |
| 128 | 480 | Sliding Window Median | 37.2% | Hard | 0.5274955113973754 | https://leetcode.com/problems/sliding-window-median |
| 129 | 76 | Minimum Window Substring | 34.6% | Hard | 0.5242373922767427 | https://leetcode.com/problems/minimum-window-substring |
| 130 | 1429 | First Unique Number | 47.0% | Medium | 0.5239621016713606 | https://leetcode.com/problems/first-unique-number |
| 131 | 622 | Design Circular Queue | 43.7% | Medium | 0.5230167669664014 | https://leetcode.com/problems/design-circular-queue |
| 132 | 103 | Binary Tree Zigzag Level Order Traversal | 48.3% | Medium | 0.5211513032333475 | https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal |
| 133 | 206 | Reverse Linked List | 62.5% | Easy | 0.5170143403889669 | https://leetcode.com/problems/reverse-linked-list |
| 134 | 215 | Kth Largest Element in an Array | 55.4% | Medium | 0.5073003557203055 | https://leetcode.com/problems/kth-largest-element-in-an-array |
| 135 | 347 | Top K Frequent Elements | 61.2% | Medium | 0.504202490273986 | https://leetcode.com/problems/top-k-frequent-elements |
| 136 | 22 | Generate Parentheses | 62.7% | Medium | 0.4881938233057933 | https://leetcode.com/problems/generate-parentheses |
| 137 | 1236 | Web Crawler | 64.3% | Medium | 0.48550781578170077 | https://leetcode.com/problems/web-crawler |
| 138 | 388 | Longest Absolute File Path | 41.8% | Medium | 0.4754236967150748 | https://leetcode.com/problems/longest-absolute-file-path |
| 139 | 352 | Data Stream as Disjoint Intervals | 47.3% | Hard | 0.47516062535545167 | https://leetcode.com/problems/data-stream-as-disjoint-intervals |
| 140 | 188 | Best Time to Buy and Sell Stock IV | 28.0% | Hard | 0.46969134068857316 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv |
| 141 | 116 | Populating Next Right Pointers in Each Node | 45.2% | Medium | 0.4677920544408954 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node |
| 142 | 36 | Valid Sudoku | 48.7% | Medium | 0.46376952253193504 | https://leetcode.com/problems/valid-sudoku |
| 143 | 1046 | Last Stone Weight | 62.2% | Easy | 0.46111558994152596 | https://leetcode.com/problems/last-stone-weight |
| 144 | 98 | Validate Binary Search Tree | 27.8% | Medium | 0.4560506048962707 | https://leetcode.com/problems/validate-binary-search-tree |
| 145 | 25 | Reverse Nodes in k-Group | 42.1% | Hard | 0.4557571315683002 | https://leetcode.com/problems/reverse-nodes-in-k-group |
| 146 | 465 | Optimal Account Balancing | 46.9% | Hard | 0.44746022914476763 | https://leetcode.com/problems/optimal-account-balancing |
| 147 | 221 | Maximal Square | 37.7% | Medium | 0.4439595076531865 | https://leetcode.com/problems/maximal-square |
| 148 | 124 | Binary Tree Maximum Path Sum | 34.3% | Hard | 0.44128780123683403 | https://leetcode.com/problems/binary-tree-maximum-path-sum |
| 149 | 384 | Shuffle an Array | 52.8% | Medium | 0.4403223646462055 | https://leetcode.com/problems/shuffle-an-array |
| 150 | 564 | Find the Closest Palindrome | 19.7% | Hard | 0.43712242797885603 | https://leetcode.com/problems/find-the-closest-palindrome |
| 151 | 84 | Largest Rectangle in Histogram | 35.2% | Hard | 0.42904427702947245 | https://leetcode.com/problems/largest-rectangle-in-histogram |
| 152 | 737 | Sentence Similarity II | 45.8% | Medium | 0.4265185173059967 | https://leetcode.com/problems/sentence-similarity-ii |
| 153 | 218 | The Skyline Problem | 34.6% | Hard | 0.42040668810636345 | https://leetcode.com/problems/the-skyline-problem |
| 154 | 199 | Binary Tree Right Side View | 54.1% | Medium | 0.41496535680316016 | https://leetcode.com/problems/binary-tree-right-side-view |
| 155 | 997 | Find the Town Judge | 50.1% | Easy | 0.41333031719338453 | https://leetcode.com/problems/find-the-town-judge |
| 156 | 46 | Permutations | 63.5% | Medium | 0.41293686083744285 | https://leetcode.com/problems/permutations |
| 157 | 79 | Word Search | 35.6% | Medium | 0.41227293846941043 | https://leetcode.com/problems/word-search |
| 158 | 735 | Asteroid Collision | 41.0% | Medium | 0.4100436801024917 | https://leetcode.com/problems/asteroid-collision |
| 159 | 675 | Cut Off Trees for Golf Event | 34.6% | Hard | 0.40225040958769004 | https://leetcode.com/problems/cut-off-trees-for-golf-event |
| 160 | 378 | Kth Smallest Element in a Sorted Matrix | 54.3% | Medium | 0.4017523534768937 | https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix |
| 161 | 1011 | Capacity To Ship Packages Within D Days | 58.1% | Medium | 0.3980529335976609 | https://leetcode.com/problems/capacity-to-ship-packages-within-d-days |
| 162 | 1335 | Minimum Difficulty of a Job Schedule | 57.6% | Hard | 0.3963047387095001 | https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule |
| 163 | 85 | Maximal Rectangle | 37.7% | Hard | 0.3942163955722937 | https://leetcode.com/problems/maximal-rectangle |
| 164 | 1197 | Minimum Knight Moves | 36.1% | Medium | 0.39358878405685155 | https://leetcode.com/problems/minimum-knight-moves |
| 165 | 688 | Knight Probability in Chessboard | 48.9% | Medium | 0.38977851194046487 | https://leetcode.com/problems/knight-probability-in-chessboard |
| 166 | 57 | Insert Interval | 33.5% | Hard | 0.3889321379062142 | https://leetcode.com/problems/insert-interval |
| 167 | 1215 | Stepping Numbers | 41.6% | Medium | 0.3856624808119847 | https://leetcode.com/problems/stepping-numbers |
| 168 | 1057 | Campus Bikes | 57.7% | Medium | 0.3787139017009125 | https://leetcode.com/problems/campus-bikes |
| 169 | 75 | Sort Colors | 47.3% | Medium | 0.3727364556976202 | https://leetcode.com/problems/sort-colors |
| 170 | 101 | Symmetric Tree | 46.8% | Easy | 0.372371993620526 | https://leetcode.com/problems/symmetric-tree |
| 171 | 1279 | Traffic Light Controlled Intersection | 74.3% | Easy | 0.37117603462953225 | https://leetcode.com/problems/traffic-light-controlled-intersection |
| 172 | 336 | Palindrome Pairs | 33.7% | Hard | 0.3591927799310734 | https://leetcode.com/problems/palindrome-pairs |
| 173 | 556 | Next Greater Element III | 31.7% | Medium | 0.3584697395147556 | https://leetcode.com/problems/next-greater-element-iii |
| 174 | 978 | Longest Turbulent Subarray | 46.6% | Medium | 0.3581093214258754 | https://leetcode.com/problems/longest-turbulent-subarray |
| 175 | 1032 | Stream of Characters | 48.3% | Hard | 0.35736199308977074 | https://leetcode.com/problems/stream-of-characters |
| 176 | 387 | First Unique Character in a String | 53.4% | Easy | 0.3502477066068738 | https://leetcode.com/problems/first-unique-character-in-a-string |
| 177 | 332 | Reconstruct Itinerary | 36.7% | Medium | 0.3499348287861282 | https://leetcode.com/problems/reconstruct-itinerary |
| 178 | 628 | Maximum Product of Three Numbers | 47.1% | Easy | 0.3483066942682158 | https://leetcode.com/problems/maximum-product-of-three-numbers |
| 179 | 1100 | Find K-Length Substrings With No Repeated Characters | 72.7% | Medium | 0.3483066942682158 | https://leetcode.com/problems/find-k-length-substrings-with-no-repeated-characters |
| 180 | 13 | Roman to Integer | 55.7% | Easy | 0.34754876247610755 | https://leetcode.com/problems/roman-to-integer |
| 181 | 39 | Combination Sum | 56.1% | Medium | 0.34653485590252786 | https://leetcode.com/problems/combination-sum |
| 182 | 312 | Burst Balloons | 51.8% | Hard | 0.3462131701037017 | https://leetcode.com/problems/burst-balloons |
| 183 | 529 | Minesweeper | 59.1% | Medium | 0.3416302106614813 | https://leetcode.com/problems/minesweeper |
| 184 | 1130 | Minimum Cost Tree From Leaf Values | 66.1% | Medium | 0.33787755363431937 | https://leetcode.com/problems/minimum-cost-tree-from-leaf-values |
| 185 | 133 | Clone Graph | 34.8% | Medium | 0.33670563608545373 | https://leetcode.com/problems/clone-graph |
| 186 | 287 | Find the Duplicate Number | 55.5% | Medium | 0.33544722224040363 | https://leetcode.com/problems/find-the-duplicate-number |
| 187 | 333 | Largest BST Subtree | 35.8% | Medium | 0.32931497055013925 | https://leetcode.com/problems/largest-bst-subtree |
| 188 | 560 | Subarray Sum Equals K | 43.9% | Medium | 0.3271780031910384 | https://leetcode.com/problems/subarray-sum-equals-k |
| 189 | 32 | Longest Valid Parentheses | 28.4% | Hard | 0.3269467909737243 | https://leetcode.com/problems/longest-valid-parentheses |
| 190 | 794 | Valid Tic-Tac-Toe State | 32.6% | Medium | 0.32676342249425205 | https://leetcode.com/problems/valid-tic-tac-toe-state |
| 191 | 695 | Max Area of Island | 62.7% | Medium | 0.32657434158263016 | https://leetcode.com/problems/max-area-of-island |
| 192 | 518 | Coin Change 2 | 50.2% | Medium | 0.32305590883561364 | https://leetcode.com/problems/coin-change-2 |
| 193 | 901 | Online Stock Span | 60.2% | Medium | 0.3225465062722876 | https://leetcode.com/problems/online-stock-span |
| 194 | 547 | Friend Circles | 58.6% | Medium | 0.31641031482435944 | https://leetcode.com/problems/friend-circles |
| 195 | 135 | Candy | 31.6% | Hard | 0.3148768941781284 | https://leetcode.com/problems/candy |
| 196 | 102 | Binary Tree Level Order Traversal | 54.6% | Medium | 0.3108352169668257 | https://leetcode.com/problems/binary-tree-level-order-traversal |
| 197 | 72 | Edit Distance | 44.8% | Hard | 0.30928199098237896 | https://leetcode.com/problems/edit-distance |
| 198 | 41 | First Missing Positive | 32.0% | Hard | 0.3088033158177097 | https://leetcode.com/problems/first-missing-positive |
| 199 | 185 | Department Top Three Salaries | 34.5% | Hard | 0.3067091029533853 | https://leetcode.com/problems/department-top-three-salaries |
| 200 | 10 | Regular Expression Matching | 26.8% | Hard | 0.3026257535192428 | https://leetcode.com/problems/regular-expression-matching |
| 201 | 205 | Isomorphic Strings | 39.8% | Easy | 0.30101800626340847 | https://leetcode.com/problems/isomorphic-strings |
| 202 | 854 | K-Similar Strings | 38.2% | Hard | 0.3001856330111831 | https://leetcode.com/problems/k-similar-strings |
| 203 | 703 | Kth Largest Element in a Stream | 49.7% | Easy | 0.3000268349758617 | https://leetcode.com/problems/kth-largest-element-in-a-stream |
| 204 | 1244 | Design A Leaderboard | 60.7% | Medium | 0.29681946470121906 | https://leetcode.com/problems/design-a-leaderboard |
| 205 | 1229 | Meeting Scheduler | 52.7% | Medium | 0.2955601745092634 | https://leetcode.com/problems/meeting-scheduler |
| 206 | 134 | Gas Station | 38.5% | Medium | 0.29303035974511743 | https://leetcode.com/problems/gas-station |
| 207 | 1031 | Maximum Sum of Two Non-Overlapping Subarrays | 57.9% | Medium | 0.2928670946738281 | https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays |
| 208 | 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 |
| 209 | 261 | Graph Valid Tree | 42.2% | Medium | 0.29095999624845137 | https://leetcode.com/problems/graph-valid-tree |
| 210 | 1166 | Design File System | 56.8% | Medium | 0.28978070910870213 | https://leetcode.com/problems/design-file-system |
| 211 | 417 | Pacific Atlantic Water Flow | 41.1% | Medium | 0.2794243872127994 | https://leetcode.com/problems/pacific-atlantic-water-flow |
| 212 | 410 | Split Array Largest Sum | 44.5% | Hard | 0.2778297760087693 | https://leetcode.com/problems/split-array-largest-sum |
| 213 | 1172 | Dinner Plate Stacks | 38.2% | Hard | 0.2711095169699942 | https://leetcode.com/problems/dinner-plate-stacks |
| 214 | 1120 | Maximum Average Subtree | 61.9% | Medium | 0.2694761079552085 | https://leetcode.com/problems/maximum-average-subtree |
| 215 | 409 | Longest Palindrome | 50.3% | Easy | 0.268782121321297 | https://leetcode.com/problems/longest-palindrome |
| 216 | 19 | Remove Nth Node From End of List | 35.2% | Medium | 0.2685901769658948 | https://leetcode.com/problems/remove-nth-node-from-end-of-list |
| 217 | 426 | Convert Binary Search Tree to Sorted Doubly Linked List | 59.1% | Medium | 0.2625527836498761 | https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list |
| 218 | 18 | 4Sum | 33.7% | Medium | 0.26175539010512316 | https://leetcode.com/problems/4sum |
| 219 | 1139 | Largest 1-Bordered Square | 47.5% | Medium | 0.26159729523649006 | https://leetcode.com/problems/largest-1-bordered-square |
| 220 | 300 | Longest Increasing Subsequence | 42.6% | Medium | 0.25998614206252363 | https://leetcode.com/problems/longest-increasing-subsequence |
| 221 | 37 | Sudoku Solver | 43.6% | Hard | 0.2578291093020998 | https://leetcode.com/problems/sudoku-solver |
| 222 | 632 | Smallest Range Covering Elements from K Lists | 52.4% | Hard | 0.2574120081490246 | https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists |
| 223 | 177 | Nth Highest Salary | 31.4% | Medium | 0.25708853309999324 | https://leetcode.com/problems/nth-highest-salary |
| 224 | 315 | Count of Smaller Numbers After Self | 41.5% | Hard | 0.2567607594720918 | https://leetcode.com/problems/count-of-smaller-numbers-after-self |
| 225 | 466 | Count The Repetitions | 28.2% | Hard | 0.2561688067457042 | https://leetcode.com/problems/count-the-repetitions |
| 226 | 286 | Walls and Gates | 54.5% | Medium | 0.2531417471996048 | https://leetcode.com/problems/walls-and-gates |
| 227 | 187 | Repeated DNA Sequences | 38.9% | Medium | 0.2529118727100632 | https://leetcode.com/problems/repeated-dna-sequences |
| 228 | 48 | Rotate Image | 56.7% | Medium | 0.2525907526405108 | https://leetcode.com/problems/rotate-image |
| 229 | 96 | Unique Binary Search Trees | 52.9% | Medium | 0.24754171650095222 | https://leetcode.com/problems/unique-binary-search-trees |
| 230 | 1066 | Campus Bikes II | 54.2% | Medium | 0.24445333790096083 | https://leetcode.com/problems/campus-bikes-ii |
| 231 | 128 | Longest Consecutive Sequence | 45.1% | Hard | 0.24299520815961717 | https://leetcode.com/problems/longest-consecutive-sequence |
| 232 | 153 | Find Minimum in Rotated Sorted Array | 45.1% | Medium | 0.24048987826096146 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array |
| 233 | 775 | Global and Local Inversions | 42.1% | Medium | 0.23922968906583414 | https://leetcode.com/problems/global-and-local-inversions |
| 234 | 120 | Triangle | 44.2% | Medium | 0.23887525258068545 | https://leetcode.com/problems/triangle |
| 235 | 176 | Second Highest Salary | 31.6% | Easy | 0.2367792886617929 | https://leetcode.com/problems/second-highest-salary |
| 236 | 296 | Best Meeting Point | 57.5% | Hard | 0.23670108287626285 | https://leetcode.com/problems/best-meeting-point |
| 237 | 51 | N-Queens | 46.6% | Hard | 0.2346473757956944 | https://leetcode.com/problems/n-queens |
| 238 | 1188 | Design Bounded Blocking Queue | 70.5% | Medium | 0.23300728083654992 | https://leetcode.com/problems/design-bounded-blocking-queue |
| 239 | 1094 | Car Pooling | 56.7% | Medium | 0.2280495300830642 | https://leetcode.com/problems/car-pooling |
| 240 | 682 | Baseball Game | 63.7% | Easy | 0.22057361810180773 | https://leetcode.com/problems/baseball-game |
| 241 | 29 | Divide Two Integers | 16.4% | Medium | 0.2188530145453416 | https://leetcode.com/problems/divide-two-integers |
| 242 | 1122 | Relative Sort Array | 67.7% | Easy | 0.21796115980722663 | https://leetcode.com/problems/relative-sort-array |
| 243 | 939 | Minimum Area Rectangle | 51.8% | Medium | 0.2169226914391073 | https://leetcode.com/problems/minimum-area-rectangle |
| 244 | 192 | Word Frequency | 25.8% | Medium | 0.21614863444241852 | https://leetcode.com/problems/word-frequency |
| 245 | 373 | Find K Pairs with Smallest Sums | 36.7% | Medium | 0.21472498084861397 | https://leetcode.com/problems/find-k-pairs-with-smallest-sums |
| 246 | 442 | Find All Duplicates in an Array | 67.8% | Medium | 0.21334822899856468 | https://leetcode.com/problems/find-all-duplicates-in-an-array |
| 247 | 152 | Maximum Product Subarray | 31.7% | Medium | 0.21257635189056073 | https://leetcode.com/problems/maximum-product-subarray |
| 248 | 356 | Line Reflection | 31.8% | Medium | 0.2124355370417375 | https://leetcode.com/problems/line-reflection |
| 249 | 229 | Majority Element II | 35.6% | Medium | 0.21162970925187066 | https://leetcode.com/problems/majority-element-ii |
| 250 | 1135 | Connecting Cities With Minimum Cost | 57.5% | Medium | 0.21056476910734964 | https://leetcode.com/problems/connecting-cities-with-minimum-cost |
| 251 | 117 | Populating Next Right Pointers in Each Node II | 39.1% | Medium | 0.20860539286818253 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii |
| 252 | 169 | Majority Element | 58.7% | Easy | 0.2079562741042954 | https://leetcode.com/problems/majority-element |
| 253 | 123 | Best Time to Buy and Sell Stock III | 37.5% | Hard | 0.2064707887143865 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii |
| 254 | 1004 | Max Consecutive Ones III | 59.1% | Medium | 0.20643953436639223 | https://leetcode.com/problems/max-consecutive-ones-iii |
| 255 | 148 | Sort List | 42.3% | Medium | 0.20552445387361853 | https://leetcode.com/problems/sort-list |
| 256 | 179 | Largest Number | 28.8% | Medium | 0.20162217031985052 | https://leetcode.com/problems/largest-number |
| 257 | 542 | 01 Matrix | 39.8% | Medium | 0.2005882722187499 | https://leetcode.com/problems/01-matrix |
| 258 | 1143 | Longest Common Subsequence | 58.4% | Medium | 0.20038826657183323 | https://leetcode.com/problems/longest-common-subsequence |
| 259 | 63 | Unique Paths II | 34.6% | Medium | 0.19784257168907113 | https://leetcode.com/problems/unique-paths-ii |
| 260 | 690 | Employee Importance | 57.3% | Easy | 0.19768561861869782 | https://leetcode.com/problems/employee-importance |
| 261 | 1315 | Sum of Nodes with Even-Valued Grandparent | 83.5% | Medium | 0.19757677034220278 | https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent |
| 262 | 88 | Merge Sorted Array | 39.4% | Easy | 0.19706016197271087 | https://leetcode.com/problems/merge-sorted-array |
| 263 | 31 | Next Permutation | 32.6% | Medium | 0.19579797845713617 | https://leetcode.com/problems/next-permutation |
| 264 | 1360 | Number of Days Between Two Dates | 48.8% | Easy | 0.19578302313828744 | https://leetcode.com/problems/number-of-days-between-two-dates |
| 265 | 122 | Best Time to Buy and Sell Stock II | 57.0% | Easy | 0.19478832555908462 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii |
| 266 | 73 | Set Matrix Zeroes | 43.1% | Medium | 0.19305803523368698 | https://leetcode.com/problems/set-matrix-zeroes |
| 267 | 272 | Closest Binary Search Tree Value II | 50.5% | Hard | 0.1920777317393193 | https://leetcode.com/problems/closest-binary-search-tree-value-ii |
| 268 | 1198 | Find Smallest Common Element in All Rows | 74.9% | Medium | 0.19105523676270922 | https://leetcode.com/problems/find-smallest-common-element-in-all-rows |
| 269 | 756 | Pyramid Transition Matrix | 54.6% | Medium | 0.19105523676270922 | https://leetcode.com/problems/pyramid-transition-matrix |
| 270 | 678 | Valid Parenthesis String | 31.0% | Medium | 0.1879537610768114 | https://leetcode.com/problems/valid-parenthesis-string |
| 271 | 438 | Find All Anagrams in a String | 43.3% | Medium | 0.18564799141482685 | https://leetcode.com/problems/find-all-anagrams-in-a-string |
| 272 | 262 | Trips and Users | 32.7% | Hard | 0.18557888866426112 | https://leetcode.com/problems/trips-and-users |
| 273 | 71 | Simplify Path | 32.6% | Medium | 0.18300438372386543 | https://leetcode.com/problems/simplify-path |
| 274 | 113 | Path Sum II | 46.7% | Medium | 0.181583821607415 | https://leetcode.com/problems/path-sum-ii |
| 275 | 59 | Spiral Matrix II | 53.9% | Medium | 0.1781345304397381 | https://leetcode.com/problems/spiral-matrix-ii |
| 276 | 473 | Matchsticks to Square | 37.7% | Medium | 0.17589066646366422 | https://leetcode.com/problems/matchsticks-to-square |
| 277 | 230 | Kth Smallest Element in a BST | 60.2% | Medium | 0.17586503601879516 | https://leetcode.com/problems/kth-smallest-element-in-a-bst |
| 278 | 234 | Palindrome Linked List | 39.3% | Easy | 0.17561579569700486 | https://leetcode.com/problems/palindrome-linked-list |
| 279 | 698 | Partition to K Equal Sum Subsets | 45.0% | Medium | 0.1755467047088198 | https://leetcode.com/problems/partition-to-k-equal-sum-subsets |
| 280 | 701 | Insert into a Binary Search Tree | 77.7% | Medium | 0.17532280369452244 | https://leetcode.com/problems/insert-into-a-binary-search-tree |
| 281 | 636 | Exclusive Time of Functions | 52.0% | Medium | 0.17494800586305592 | https://leetcode.com/problems/exclusive-time-of-functions |
| 282 | 453 | Minimum Moves to Equal Array Elements | 50.2% | Easy | 0.17435338714477774 | https://leetcode.com/problems/minimum-moves-to-equal-array-elements |
| 283 | 419 | Battleships in a Board | 70.0% | Medium | 0.1724841713694404 | https://leetcode.com/problems/battleships-in-a-board |
| 284 | 8 | String to Integer (atoi) | 15.4% | Medium | 0.1707447178638203 | https://leetcode.com/problems/string-to-integer-atoi |
| 285 | 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 |
| 286 | 805 | Split Array With Same Average | 26.4% | Hard | 0.16635770580494058 | https://leetcode.com/problems/split-array-with-same-average |
| 287 | 963 | Minimum Area Rectangle II | 50.9% | Medium | 0.16635770580494058 | https://leetcode.com/problems/minimum-area-rectangle-ii |
| 288 | 785 | Is Graph Bipartite? | 47.5% | Medium | 0.16618451939098186 | https://leetcode.com/problems/is-graph-bipartite |
| 289 | 301 | Remove Invalid Parentheses | 43.3% | Hard | 0.16424785299136993 | https://leetcode.com/problems/remove-invalid-parentheses |
| 290 | 715 | Range Module | 38.5% | Hard | 0.1636294237818021 | https://leetcode.com/problems/range-module |
| 291 | 881 | Boats to Save People | 46.8% | Medium | 0.16229864091884685 | https://leetcode.com/problems/boats-to-save-people |
| 292 | 242 | Valid Anagram | 56.9% | Easy | 0.1620140669319784 | https://leetcode.com/problems/valid-anagram |
| 293 | 653 | Two Sum IV - Input is a BST | 55.5% | Easy | 0.16169480776777312 | https://leetcode.com/problems/two-sum-iv-input-is-a-bst |
| 294 | 68 | Text Justification | 27.7% | Hard | 0.16143214434637243 | https://leetcode.com/problems/text-justification |
| 295 | 540 | Single Element in a Sorted Array | 57.9% | Medium | 0.16091725953613234 | https://leetcode.com/problems/single-element-in-a-sorted-array |
| 296 | 716 | Max Stack | 42.6% | Easy | 0.16082720489992372 | https://leetcode.com/problems/max-stack |
| 297 | 150 | Evaluate Reverse Polish Notation | 36.3% | Medium | 0.16073798512678014 | https://leetcode.com/problems/evaluate-reverse-polish-notation |
| 298 | 611 | Valid Triangle Number | 48.4% | Medium | 0.1603426500751794 | https://leetcode.com/problems/valid-triangle-number |
| 299 | 1373 | Maximum Sum BST in Binary Tree | 40.2% | Hard | 0.1599143845440084 | https://leetcode.com/problems/maximum-sum-bst-in-binary-tree |
| 300 | 1010 | Pairs of Songs With Total Durations Divisible by 60 | 47.4% | Easy | 0.15765117803680806 | https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60 |
| 301 | 335 | Self Crossing | 28.0% | Hard | 0.15535044001916237 | https://leetcode.com/problems/self-crossing |
| 302 | 647 | Palindromic Substrings | 60.6% | Medium | 0.154673282399905 | https://leetcode.com/problems/palindromic-substrings |
| 303 | 62 | Unique Paths | 54.1% | Medium | 0.15421684583780285 | https://leetcode.com/problems/unique-paths |
| 304 | 1074 | Number of Submatrices That Sum to Target | 60.4% | Hard | 0.1536233927072112 | https://leetcode.com/problems/number-of-submatrices-that-sum-to-target |
| 305 | 329 | Longest Increasing Path in a Matrix | 43.4% | Hard | 0.15294542476994444 | https://leetcode.com/problems/longest-increasing-path-in-a-matrix |
| 306 | 1084 | Sales Analysis III | 54.3% | Easy | 0.15232085315018215 | https://leetcode.com/problems/sales-analysis-iii |
| 307 | 1242 | Web Crawler Multithreaded | 45.9% | Medium | 0.14953173397096375 | https://leetcode.com/problems/web-crawler-multithreaded |
| 308 | 82 | Remove Duplicates from Sorted List II | 36.8% | Medium | 0.1483524778541147 | https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii |
| 309 | 538 | Convert BST to Greater Tree | 55.4% | Easy | 0.14526651855317063 | https://leetcode.com/problems/convert-bst-to-greater-tree |
| 310 | 270 | Closest Binary Search Tree Value | 48.5% | Easy | 0.1444815825552332 | https://leetcode.com/problems/closest-binary-search-tree-value |
| 311 | 310 | Minimum Height Trees | 32.3% | Medium | 0.143926096421159 | https://leetcode.com/problems/minimum-height-trees |
| 312 | 415 | Add Strings | 47.5% | Easy | 0.14343082219506165 | https://leetcode.com/problems/add-strings |
| 313 | 836 | Rectangle Overlap | 48.6% | Easy | 0.14261022668001652 | https://leetcode.com/problems/rectangle-overlap |
| 314 | 16 | 3Sum Closest | 46.0% | Medium | 0.14234512850929823 | https://leetcode.com/problems/3sum-closest |
| 315 | 1083 | Sales Analysis II | 50.5% | Easy | 0.1417462887434142 | https://leetcode.com/problems/sales-analysis-ii |
| 316 | 992 | Subarrays with K Different Integers | 48.6% | Hard | 0.14045833549672154 | https://leetcode.com/problems/subarrays-with-k-different-integers |
| 317 | 354 | Russian Doll Envelopes | 35.6% | Hard | 0.13850969523609932 | https://leetcode.com/problems/russian-doll-envelopes |
| 318 | 130 | Surrounded Regions | 28.1% | Medium | 0.13754829150296946 | https://leetcode.com/problems/surrounded-regions |
| 319 | 349 | Intersection of Two Arrays | 62.5% | Easy | 0.13745763880299086 | https://leetcode.com/problems/intersection-of-two-arrays |
| 320 | 1161 | Maximum Level Sum of a Binary Tree | 72.2% | Medium | 0.13727657783562877 | https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree |
| 321 | 340 | Longest Substring with At Most K Distinct Characters | 44.1% | Hard | 0.13652366061094043 | https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters |
| 322 | 427 | Construct Quad Tree | 61.4% | Medium | 0.13580154115906176 | https://leetcode.com/problems/construct-quad-tree |
| 323 | 1405 | Longest Happy String | 49.0% | Medium | 0.1343297958605471 | https://leetcode.com/problems/longest-happy-string |
| 324 | 732 | My Calendar III | 60.0% | Hard | 0.13397932096347895 | https://leetcode.com/problems/my-calendar-iii |
| 325 | 86 | Partition List | 41.5% | Medium | 0.1338296774887775 | https://leetcode.com/problems/partition-list |
| 326 | 1007 | Minimum Domino Rotations For Equal Row | 50.0% | Medium | 0.1318780442181351 | https://leetcode.com/problems/minimum-domino-rotations-for-equal-row |
| 327 | 307 | Range Sum Query - Mutable | 34.6% | Medium | 0.1314916521599796 | https://leetcode.com/problems/range-sum-query-mutable |
| 328 | 1002 | Find Common Characters | 67.6% | Easy | 0.12972461775871938 | https://leetcode.com/problems/find-common-characters |
| 329 | 1117 | Building H2O | 52.6% | Medium | 0.12796988096337653 | https://leetcode.com/problems/building-h2o |
| 330 | 528 | Random Pick with Weight | 43.9% | Medium | 0.12617342152539626 | https://leetcode.com/problems/random-pick-with-weight |
| 331 | 78 | Subsets | 62.0% | Medium | 0.12486971572185374 | https://leetcode.com/problems/subsets |
| 332 | 873 | Length of Longest Fibonacci Subsequence | 48.0% | Medium | 0.12378418901663191 | https://leetcode.com/problems/length-of-longest-fibonacci-subsequence |
| 333 | 844 | Backspace String Compare | 46.4% | Easy | 0.12201137176590456 | https://leetcode.com/problems/backspace-string-compare |
| 334 | 92 | Reverse Linked List II | 38.8% | Medium | 0.12080664535613118 | https://leetcode.com/problems/reverse-linked-list-ii |
| 335 | 202 | Happy Number | 50.4% | Easy | 0.11982401289364229 | https://leetcode.com/problems/happy-number |
| 336 | 525 | Contiguous Array | 42.8% | Medium | 0.11750591219610916 | https://leetcode.com/problems/contiguous-array |
| 337 | 44 | Wildcard Matching | 24.7% | Hard | 0.11705454991590605 | https://leetcode.com/problems/wildcard-matching |
| 338 | 6 | ZigZag Conversion | 36.3% | Medium | 0.11677183708486526 | https://leetcode.com/problems/zigzag-conversion |
| 339 | 368 | Largest Divisible Subset | 38.0% | Medium | 0.11624101530456815 | https://leetcode.com/problems/largest-divisible-subset |
| 340 | 268 | Missing Number | 51.7% | Easy | 0.11538834636572094 | https://leetcode.com/problems/missing-number |
| 341 | 283 | Move Zeroes | 57.8% | Easy | 0.11518710330017225 | https://leetcode.com/problems/move-zeroes |
| 342 | 1375 | Bulb Switcher III | 62.6% | Medium | 0.11506932978478719 | https://leetcode.com/problems/bulb-switcher-iii |
| 343 | 339 | Nested List Weight Sum | 74.0% | Easy | 0.11351649636962678 | https://leetcode.com/problems/nested-list-weight-sum |
| 344 | 451 | Sort Characters By Frequency | 63.0% | Medium | 0.11258362132121401 | https://leetcode.com/problems/sort-characters-by-frequency |
| 345 | 787 | Cheapest Flights Within K Stops | 39.3% | Medium | 0.11222526033403632 | https://leetcode.com/problems/cheapest-flights-within-k-stops |
| 346 | 1008 | Construct Binary Search Tree from Preorder Traversal | 78.4% | Medium | 0.11004936619718413 | https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal |
| 347 | 181 | Employees Earning More Than Their Managers | 56.9% | Easy | 0.10821358464023274 | https://leetcode.com/problems/employees-earning-more-than-their-managers |
| 348 | 321 | Create Maximum Number | 27.0% | Hard | 0.10821358464023274 | https://leetcode.com/problems/create-maximum-number |
| 349 | 509 | Fibonacci Number | 67.2% | Easy | 0.1081586674964596 | https://leetcode.com/problems/fibonacci-number |
| 350 | 969 | Pancake Sorting | 67.5% | Medium | 0.10724553035359762 | https://leetcode.com/problems/pancake-sorting |
| 351 | 966 | Vowel Spellchecker | 47.2% | Medium | 0.10676797542570607 | https://leetcode.com/problems/vowel-spellchecker |
| 352 | 1153 | String Transforms Into Another String | 35.8% | Hard | 0.10623186692973738 | https://leetcode.com/problems/string-transforms-into-another-string |
| 353 | 498 | Diagonal Traverse | 48.2% | Medium | 0.10598924878133596 | https://leetcode.com/problems/diagonal-traverse |
| 354 | 112 | Path Sum | 41.2% | Easy | 0.10531937947649221 | https://leetcode.com/problems/path-sum |
| 355 | 407 | Trapping Rain Water II | 42.4% | Hard | 0.10486899438963619 | https://leetcode.com/problems/trapping-rain-water-ii |
| 356 | 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 |
| 357 | 986 | Interval List Intersections | 67.3% | Medium | 0.10288907161978299 | https://leetcode.com/problems/interval-list-intersections |
| 358 | 337 | House Robber III | 50.6% | Medium | 0.10284435451079782 | https://leetcode.com/problems/house-robber-iii |
| 359 | 402 | Remove K Digits | 28.4% | Medium | 0.10101435005393304 | https://leetcode.com/problems/remove-k-digits |
| 360 | 264 | Ugly Number II | 42.0% | Medium | 0.09988890602718599 | https://leetcode.com/problems/ugly-number-ii |
| 361 | 843 | Guess the Word | 46.1% | Hard | 0.09952959534703311 | https://leetcode.com/problems/guess-the-word |
| 362 | 1162 | As Far from Land as Possible | 43.5% | Medium | 0.09876441467241241 | https://leetcode.com/problems/as-far-from-land-as-possible |
| 363 | 1202 | Smallest String With Swaps | 46.5% | Medium | 0.09740053011838201 | https://leetcode.com/problems/smallest-string-with-swaps |
| 364 | 849 | Maximize Distance to Closest Person | 42.6% | Easy | 0.09669362480247104 | https://leetcode.com/problems/maximize-distance-to-closest-person |
| 365 | 235 | Lowest Common Ancestor of a Binary Search Tree | 49.9% | Easy | 0.09628480221531907 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree |
| 366 | 14 | Longest Common Prefix | 35.4% | Easy | 0.09586181640315415 | https://leetcode.com/problems/longest-common-prefix |
| 367 | 390 | Elimination Game | 44.5% | Medium | 0.09576690509200843 | https://leetcode.com/problems/elimination-game |
| 368 | 579 | Find Cumulative Salary of an Employee | 37.0% | Hard | 0.0955379961853079 | https://leetcode.com/problems/find-cumulative-salary-of-an-employee |
| 369 | 983 | Minimum Cost For Tickets | 60.5% | Medium | 0.09525339549949145 | https://leetcode.com/problems/minimum-cost-for-tickets |
| 370 | 233 | Number of Digit One | 31.3% | Hard | 0.09463320809845266 | https://leetcode.com/problems/number-of-digit-one |
| 371 | 463 | Island Perimeter | 65.7% | Easy | 0.0943601559822778 | https://leetcode.com/problems/island-perimeter |
| 372 | 132 | Palindrome Partitioning II | 30.2% | Hard | 0.0943539685775445 | https://leetcode.com/problems/palindrome-partitioning-ii |
| 373 | 827 | Making A Large Island | 45.7% | Hard | 0.09287412500644375 | https://leetcode.com/problems/making-a-large-island |
| 374 | 70 | Climbing Stairs | 47.8% | Easy | 0.09222789908966633 | https://leetcode.com/problems/climbing-stairs |
| 375 | 1062 | Longest Repeating Substring | 57.2% | Medium | 0.09201889872025212 | https://leetcode.com/problems/longest-repeating-substring |
| 376 | 430 | Flatten a Multilevel Doubly Linked List | 55.1% | Medium | 0.09115618648618105 | https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list |
| 377 | 252 | Meeting Rooms | 54.6% | Easy | 0.09020195522698488 | https://leetcode.com/problems/meeting-rooms |
| 378 | 516 | Longest Palindromic Subsequence | 53.2% | Medium | 0.08985926725218181 | https://leetcode.com/problems/longest-palindromic-subsequence |
| 379 | 243 | Shortest Word Distance | 61.0% | Easy | 0.08952296190665864 | https://leetcode.com/problems/shortest-word-distance |
| 380 | 652 | Find Duplicate Subtrees | 50.2% | Medium | 0.08907963005368878 | https://leetcode.com/problems/find-duplicate-subtrees |
| 381 | 995 | Minimum Number of K Consecutive Bit Flips | 46.8% | Hard | 0.08894748601649616 | https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips |
| 382 | 686 | Repeated String Match | 32.3% | Easy | 0.08751937801655657 | https://leetcode.com/problems/repeated-string-match |
| 383 | 285 | Inorder Successor in BST | 40.4% | Medium | 0.08649364464568089 | https://leetcode.com/problems/inorder-successor-in-bst |
| 384 | 1247 | Minimum Swaps to Make Strings Equal | 60.1% | Medium | 0.08626034428440695 | https://leetcode.com/problems/minimum-swaps-to-make-strings-equal |
| 385 | 61 | Rotate List | 30.0% | Medium | 0.08597176778902096 | https://leetcode.com/problems/rotate-list |
| 386 | 916 | Word Subsets | 47.8% | Medium | 0.08479653666007693 | https://leetcode.com/problems/word-subsets |
| 387 | 443 | String Compression | 41.3% | Easy | 0.08391368024915737 | https://leetcode.com/problems/string-compression |
| 388 | 131 | Palindrome Partitioning | 47.5% | Medium | 0.08388550716227433 | https://leetcode.com/problems/palindrome-partitioning |
| 389 | 1019 | Next Greater Node In Linked List | 57.4% | Medium | 0.08373089291046797 | https://leetcode.com/problems/next-greater-node-in-linked-list |
| 390 | 1245 | Tree Diameter | 60.1% | Medium | 0.08338160893905106 | https://leetcode.com/problems/tree-diameter |
| 391 | 110 | Balanced Binary Tree | 43.5% | Easy | 0.0828596109446498 | https://leetcode.com/problems/balanced-binary-tree |
| 392 | 34 | Find First and Last Position of Element in Sorted Array | 36.2% | Medium | 0.08268327002043342 | https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array |
| 393 | 359 | Logger Rate Limiter | 70.8% | Easy | 0.08167803101426718 | https://leetcode.com/problems/logger-rate-limiter |
| 394 | 94 | Binary Tree Inorder Traversal | 63.3% | Medium | 0.08067588488738961 | https://leetcode.com/problems/binary-tree-inorder-traversal |
| 395 | 581 | Shortest Unsorted Continuous Subarray | 31.1% | Easy | 0.08061081614588511 | https://leetcode.com/problems/shortest-unsorted-continuous-subarray |
| 396 | 350 | Intersection of Two Arrays II | 51.4% | Easy | 0.08027374155116185 | https://leetcode.com/problems/intersection-of-two-arrays-ii |
| 397 | 729 | My Calendar I | 51.8% | Medium | 0.0801854119192299 | https://leetcode.com/problems/my-calendar-i |
| 398 | 279 | Perfect Squares | 47.4% | Medium | 0.08004270767353643 | https://leetcode.com/problems/perfect-squares |
| 399 | 1249 | Minimum Remove to Make Valid Parentheses | 62.5% | Medium | 0.07986504044378952 | https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses |
| 400 | 161 | One Edit Distance | 32.3% | Medium | 0.07982960165248484 | https://leetcode.com/problems/one-edit-distance |
| 401 | 875 | Koko Eating Bananas | 52.1% | Medium | 0.07919704166119315 | https://leetcode.com/problems/koko-eating-bananas |
| 402 | 1047 | Remove All Adjacent Duplicates In String | 68.6% | Easy | 0.0789551324793932 | https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string |
| 403 | 69 | Sqrt(x) | 33.9% | Easy | 0.07866461906091221 | https://leetcode.com/problems/sqrtx |
| 404 | 1254 | Number of Closed Islands | 60.5% | Medium | 0.07796154146971186 | https://leetcode.com/problems/number-of-closed-islands |
| 405 | 1104 | Path In Zigzag Labelled Binary Tree | 72.0% | Medium | 0.07786032177227234 | https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree |
| 406 | 1024 | Video Stitching | 49.2% | Medium | 0.07710947515747849 | https://leetcode.com/problems/video-stitching |
| 407 | 129 | Sum Root to Leaf Numbers | 49.1% | Medium | 0.07707974254287937 | https://leetcode.com/problems/sum-root-to-leaf-numbers |
| 408 | 852 | Peak Index in a Mountain Array | 71.6% | Easy | 0.07637297878457401 | https://leetcode.com/problems/peak-index-in-a-mountain-array |
| 409 | 468 | Validate IP Address | 24.1% | Medium | 0.07598590697792203 | https://leetcode.com/problems/validate-ip-address |
| 410 | 137 | Single Number II | 52.4% | Medium | 0.07583984694698977 | https://leetcode.com/problems/single-number-ii |
| 411 | 214 | Shortest Palindrome | 29.8% | Hard | 0.0753494372417868 | https://leetcode.com/problems/shortest-palindrome |
| 412 | 183 | Customers Who Never Order | 53.4% | Easy | 0.07513295051837407 | https://leetcode.com/problems/customers-who-never-order |
| 413 | 515 | Find Largest Value in Each Tree Row | 61.1% | Medium | 0.07428007438287054 | https://leetcode.com/problems/find-largest-value-in-each-tree-row |
| 414 | 974 | Subarray Sums Divisible by K | 48.9% | Medium | 0.07423027387221347 | https://leetcode.com/problems/subarray-sums-divisible-by-k |
| 415 | 1022 | Sum of Root To Leaf Binary Numbers | 67.2% | Easy | 0.07410797215372188 | https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers |
| 416 | 209 | Minimum Size Subarray Sum | 38.2% | Medium | 0.07329286546547308 | https://leetcode.com/problems/minimum-size-subarray-sum |
| 417 | 184 | Department Highest Salary | 36.7% | Medium | 0.07292523990467245 | https://leetcode.com/problems/department-highest-salary |
| 418 | 539 | Minimum Time Difference | 51.5% | Medium | 0.07236429254889504 | https://leetcode.com/problems/minimum-time-difference |
| 419 | 860 | Lemonade Change | 51.6% | Easy | 0.07208884919207953 | https://leetcode.com/problems/lemonade-change |
| 420 | 351 | Android Unlock Patterns | 48.4% | Medium | 0.07197349962508924 | https://leetcode.com/problems/android-unlock-patterns |
| 421 | 523 | Continuous Subarray Sum | 24.6% | Medium | 0.07166389251403688 | https://leetcode.com/problems/continuous-subarray-sum |
| 422 | 81 | Search in Rotated Sorted Array II | 33.0% | Medium | 0.07091146875905202 | https://leetcode.com/problems/search-in-rotated-sorted-array-ii |
| 423 | 570 | Managers with at Least 5 Direct Reports | 66.0% | Medium | 0.07020425867324853 | https://leetcode.com/problems/managers-with-at-least-5-direct-reports |
| 424 | 1146 | Snapshot Array | 37.0% | Medium | 0.07017687679183775 | https://leetcode.com/problems/snapshot-array |
| 425 | 228 | Summary Ranges | 39.5% | Medium | 0.06968763142190673 | https://leetcode.com/problems/summary-ranges |
| 426 | 136 | Single Number | 65.5% | Easy | 0.0693807551554477 | https://leetcode.com/problems/single-number |
| 427 | 90 | Subsets II | 47.1% | Medium | 0.06927977437229342 | https://leetcode.com/problems/subsets-ii |
| 428 | 432 | All O`one Data Structure | 32.4% | Hard | 0.06887402901251127 | https://leetcode.com/problems/all-oone-data-structure |
| 429 | 284 | Peeking Iterator | 45.7% | Medium | 0.06867686579621939 | https://leetcode.com/problems/peeking-iterator |
| 430 | 141 | Linked List Cycle | 41.1% | Easy | 0.06847358948474051 | https://leetcode.com/problems/linked-list-cycle |
| 431 | 1081 | Smallest Subsequence of Distinct Characters | 50.4% | Medium | 0.06840272688440052 | https://leetcode.com/problems/smallest-subsequence-of-distinct-characters |
| 432 | 232 | Implement Queue using Stacks | 49.6% | Easy | 0.06827657958623828 | https://leetcode.com/problems/implement-queue-using-stacks |
| 433 | 163 | Missing Ranges | 24.3% | Medium | 0.06820825002653358 | https://leetcode.com/problems/missing-ranges |
| 434 | 1060 | Missing Element in Sorted Array | 54.5% | Medium | 0.06796670413163937 | https://leetcode.com/problems/missing-element-in-sorted-array |
| 435 | 993 | Cousins in Binary Tree | 52.0% | Easy | 0.06790898756146661 | https://leetcode.com/problems/cousins-in-binary-tree |
| 436 | 316 | Remove Duplicate Letters | 35.8% | Hard | 0.067239661116769 | https://leetcode.com/problems/remove-duplicate-letters |
| 437 | 50 | Pow(x;n) | 30.3% | Medium | 0.06647190010502257 | https://leetcode.com/problems/powx-n |
| 438 | 584 | Find Customer Referee | 72.3% | Easy | 0.06592172080482424 | https://leetcode.com/problems/find-customer-referee |
| 439 | 662 | Maximum Width of Binary Tree | 41.0% | Medium | 0.06560589270959301 | https://leetcode.com/problems/maximum-width-of-binary-tree |
| 440 | 178 | Rank Scores | 45.8% | Medium | 0.06551667145414991 | https://leetcode.com/problems/rank-scores |
| 441 | 226 | Invert Binary Tree | 65.0% | Easy | 0.06547015000263501 | https://leetcode.com/problems/invert-binary-tree |
| 442 | 167 | Two Sum II - Input array is sorted | 54.1% | Easy | 0.06546140041370939 | https://leetcode.com/problems/two-sum-ii-input-array-is-sorted |
| 443 | 298 | Binary Tree Longest Consecutive Sequence | 47.1% | Medium | 0.065169635074581 | https://leetcode.com/problems/binary-tree-longest-consecutive-sequence |
| 444 | 1270 | All People Report to the Given Manager | 87.1% | Medium | 0.06412452816953867 | https://leetcode.com/problems/all-people-report-to-the-given-manager |
| 445 | 1005 | Maximize Sum Of Array After K Negations | 51.3% | Easy | 0.06371581438610768 | https://leetcode.com/problems/maximize-sum-of-array-after-k-negations |
| 446 | 257 | Binary Tree Paths | 51.5% | Easy | 0.06363469625372709 | https://leetcode.com/problems/binary-tree-paths |
| 447 | 702 | Search in a Sorted Array of Unknown Size | 66.9% | Medium | 0.06361444899419297 | https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size |
| 448 | 299 | Bulls and Cows | 42.4% | Easy | 0.0633875522784949 | https://leetcode.com/problems/bulls-and-cows |
| 449 | 397 | Integer Replacement | 32.9% | Medium | 0.06331227941432688 | https://leetcode.com/problems/integer-replacement |
| 450 | 413 | Arithmetic Slices | 57.9% | Medium | 0.06286986221654821 | https://leetcode.com/problems/arithmetic-slices |
| 451 | 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 |
| 452 | 204 | Count Primes | 31.5% | Easy | 0.06191798620391749 | https://leetcode.com/problems/count-primes |
| 453 | 801 | Minimum Swaps To Make Sequences Increasing | 38.9% | Medium | 0.06146327443046864 | https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing |
| 454 | 938 | Range Sum of BST | 81.3% | Easy | 0.06140035686425664 | https://leetcode.com/problems/range-sum-of-bst |
| 455 | 28 | Implement strStr() | 34.5% | Easy | 0.061298390181781764 | https://leetcode.com/problems/implement-strstr |
| 456 | 420 | Strong Password Checker | 14.0% | Hard | 0.061087691979838175 | https://leetcode.com/problems/strong-password-checker |
| 457 | 114 | Flatten Binary Tree to Linked List | 49.3% | Medium | 0.06042105947476499 | https://leetcode.com/problems/flatten-binary-tree-to-linked-list |
| 458 | 567 | Permutation in String | 44.4% | Medium | 0.05849620668160855 | https://leetcode.com/problems/permutation-in-string |
| 459 | 160 | Intersection of Two Linked Lists | 40.6% | Easy | 0.05844735064567987 | https://leetcode.com/problems/intersection-of-two-linked-lists |
| 460 | 52 | N-Queens II | 57.9% | Hard | 0.058155920157074034 | https://leetcode.com/problems/n-queens-ii |
| 461 | 164 | Maximum Gap | 35.5% | Hard | 0.05790329283155908 | https://leetcode.com/problems/maximum-gap |
| 462 | 1233 | Remove Sub-Folders from the Filesystem | 59.5% | Medium | 0.057076831135436705 | https://leetcode.com/problems/remove-sub-folders-from-the-filesystem |
| 463 | 106 | Construct Binary Tree from Inorder and Postorder Traversal | 47.2% | Medium | 0.05692732601741117 | https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal |
| 464 | 586 | Customer Placing the Largest Number of Orders | 73.0% | Easy | 0.0568334747631659 | https://leetcode.com/problems/customer-placing-the-largest-number-of-orders |
| 465 | 741 | Cherry Pickup | 33.9% | Hard | 0.056512210263342307 | https://leetcode.com/problems/cherry-pickup |
| 466 | 862 | Shortest Subarray with Sum at Least K | 24.6% | Hard | 0.056264838586137754 | https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k |
| 467 | 541 | Reverse String II | 48.4% | Easy | 0.05615948403872344 | https://leetcode.com/problems/reverse-string-ii |
| 468 | 951 | Flip Equivalent Binary Trees | 65.8% | Medium | 0.05598476739954757 | https://leetcode.com/problems/flip-equivalent-binary-trees |
| 469 | 83 | Remove Duplicates from Sorted List | 45.4% | Easy | 0.055776537457411894 | https://leetcode.com/problems/remove-duplicates-from-sorted-list |
| 470 | 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 |
| 471 | 366 | Find Leaves of Binary Tree | 70.6% | Medium | 0.05526267867504946 | https://leetcode.com/problems/find-leaves-of-binary-tree |
| 472 | 30 | Substring with Concatenation of All Words | 25.4% | Hard | 0.05509349054082484 | https://leetcode.com/problems/substring-with-concatenation-of-all-words |
| 473 | 149 | Max Points on a Line | 16.9% | Hard | 0.0550597771830274 | https://leetcode.com/problems/max-points-on-a-line |
| 474 | 104 | Maximum Depth of Binary Tree | 66.0% | Easy | 0.05499247412856504 | https://leetcode.com/problems/maximum-depth-of-binary-tree |
| 475 | 222 | Count Complete Tree Nodes | 46.8% | Medium | 0.05492114472894792 | https://leetcode.com/problems/count-complete-tree-nodes |
| 476 | 839 | Similar String Groups | 38.6% | Hard | 0.05480823649499502 | https://leetcode.com/problems/similar-string-groups |
| 477 | 304 | Range Sum Query 2D - Immutable | 38.6% | Medium | 0.054527987071175225 | https://leetcode.com/problems/range-sum-query-2d-immutable |
| 478 | 395 | Longest Substring with At Least K Repeating Characters | 41.4% | Medium | 0.05371219359052555 | https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters |
| 479 | 708 | Insert into a Sorted Circular Linked List | 31.6% | Medium | 0.05142521180743711 | https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list |
| 480 | 65 | Valid Number | 15.3% | Hard | 0.05071509257901641 | https://leetcode.com/problems/valid-number |
| 481 | 1339 | Maximum Product of Splitted Binary Tree | 37.2% | Medium | 0.05064373281875492 | https://leetcode.com/problems/maximum-product-of-splitted-binary-tree |
| 482 | 681 | Next Closest Time | 45.0% | Medium | 0.05045206096038863 | https://leetcode.com/problems/next-closest-time |
| 483 | 382 | Linked List Random Node | 52.1% | Medium | 0.05045206096038863 | https://leetcode.com/problems/linked-list-random-node |
| 484 | 743 | Network Delay Time | 45.0% | Medium | 0.05002606023684499 | https://leetcode.com/problems/network-delay-time |
| 485 | 100 | Same Tree | 53.4% | Easy | 0.049479328471840896 | https://leetcode.com/problems/same-tree |
| 486 | 889 | Construct Binary Tree from Preorder and Postorder Traversal | 66.2% | Medium | 0.04902942724031861 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal |
| 487 | 1267 | Count Servers that Communicate | 57.9% | Medium | 0.04902942724031861 | https://leetcode.com/problems/count-servers-that-communicate |
| 488 | 189 | Rotate Array | 34.7% | Easy | 0.04828048261319787 | https://leetcode.com/problems/rotate-array |
| 489 | 38 | Count and Say | 44.6% | Easy | 0.04795702191135356 | https://leetcode.com/problems/count-and-say |
| 490 | 841 | Keys and Rooms | 64.3% | Medium | 0.04757768320775592 | https://leetcode.com/problems/keys-and-rooms |
| 491 | 486 | Predict the Winner | 47.9% | Medium | 0.047122970130097065 | https://leetcode.com/problems/predict-the-winner |
| 492 | 977 | Squares of a Sorted Array | 72.1% | Easy | 0.046652914831048324 | https://leetcode.com/problems/squares-of-a-sorted-array |
| 493 | 621 | Task Scheduler | 50.1% | Medium | 0.04638413032188776 | https://leetcode.com/problems/task-scheduler |
| 494 | 1248 | Count Number of Nice Subarrays | 56.4% | Medium | 0.04593229889743518 | https://leetcode.com/problems/count-number-of-nice-subarrays |
| 495 | 609 | Find Duplicate File in System | 59.5% | Medium | 0.045205436768046794 | https://leetcode.com/problems/find-duplicate-file-in-system |
| 496 | 784 | Letter Case Permutation | 64.6% | Medium | 0.045030118720867006 | https://leetcode.com/problems/letter-case-permutation |
| 497 | 1108 | Defanging an IP Address | 87.5% | Easy | 0.044971606629326595 | https://leetcode.com/problems/defanging-an-ip-address |
| 498 | 325 | Maximum Size Subarray Sum Equals k | 46.8% | Medium | 0.04495138786226632 | https://leetcode.com/problems/maximum-size-subarray-sum-equals-k |
| 499 | 180 | Consecutive Numbers | 39.7% | Medium | 0.044917730294359005 | https://leetcode.com/problems/consecutive-numbers |
| 500 | 1382 | Balance a Binary Search Tree | 74.8% | Medium | 0.04480032475536626 | https://leetcode.com/problems/balance-a-binary-search-tree |
| 501 | 412 | Fizz Buzz | 62.3% | Easy | 0.04396698989626337 | https://leetcode.com/problems/fizz-buzz |
| 502 | 435 | Non-overlapping Intervals | 42.9% | Medium | 0.04325518123147988 | https://leetcode.com/problems/non-overlapping-intervals |
| 503 | 559 | Maximum Depth of N-ary Tree | 68.7% | Easy | 0.04319159858277399 | https://leetcode.com/problems/maximum-depth-of-n-ary-tree |
| 504 | 727 | Minimum Window Subsequence | 41.8% | Hard | 0.04237922296886145 | https://leetcode.com/problems/minimum-window-subsequence |
| 505 | 266 | Palindrome Permutation | 61.9% | Easy | 0.04158603377810283 | https://leetcode.com/problems/palindrome-permutation |
| 506 | 507 | Perfect Number | 35.5% | Easy | 0.041499730906752734 | https://leetcode.com/problems/perfect-number |
| 507 | 450 | Delete Node in a BST | 43.1% | Medium | 0.041233509462184105 | https://leetcode.com/problems/delete-node-in-a-bst |
| 508 | 918 | Maximum Sum Circular Subarray | 33.7% | Medium | 0.04045040846284272 | https://leetcode.com/problems/maximum-sum-circular-subarray |
| 509 | 406 | Queue Reconstruction by Height | 66.9% | Medium | 0.03949613834265583 | https://leetcode.com/problems/queue-reconstruction-by-height |
| 510 | 107 | Binary Tree Level Order Traversal II | 53.5% | Easy | 0.03948712621281427 | https://leetcode.com/problems/binary-tree-level-order-traversal-ii |
| 511 | 637 | Average of Levels in Binary Tree | 63.1% | Easy | 0.039272062353528786 | https://leetcode.com/problems/average-of-levels-in-binary-tree |
| 512 | 1049 | Last Stone Weight II | 44.2% | Medium | 0.03902934390573525 | https://leetcode.com/problems/last-stone-weight-ii |
| 513 | 241 | Different Ways to Add Parentheses | 55.2% | Medium | 0.03880215185647971 | https://leetcode.com/problems/different-ways-to-add-parentheses |
| 514 | 24 | Swap Nodes in Pairs | 50.4% | Medium | 0.03826607060639552 | https://leetcode.com/problems/swap-nodes-in-pairs |
| 515 | 47 | Permutations II | 46.4% | Medium | 0.038145268259690404 | https://leetcode.com/problems/permutations-ii |
| 516 | 40 | Combination Sum II | 48.2% | Medium | 0.037775974158907266 | https://leetcode.com/problems/combination-sum-ii |
| 517 | 1110 | Delete Nodes And Return Forest | 67.0% | Medium | 0.03698038470938097 | https://leetcode.com/problems/delete-nodes-and-return-forest |
| 518 | 646 | Maximum Length of Pair Chain | 51.9% | Medium | 0.036870535808327706 | https://leetcode.com/problems/maximum-length-of-pair-chain |
| 519 | 626 | Exchange Seats | 62.3% | Medium | 0.03676884778708897 | https://leetcode.com/problems/exchange-seats |
| 520 | 884 | Uncommon Words from Two Sentences | 63.3% | Easy | 0.036301626676214796 | https://leetcode.com/problems/uncommon-words-from-two-sentences |
| 521 | 250 | Count Univalue Subtrees | 52.0% | Medium | 0.036235848454044865 | https://leetcode.com/problems/count-univalue-subtrees |
| 522 | 334 | Increasing Triplet Subsequence | 40.0% | Medium | 0.03577488021091517 | https://leetcode.com/problems/increasing-triplet-subsequence |
| 523 | 416 | Partition Equal Subset Sum | 43.7% | Medium | 0.034301326353463016 | https://leetcode.com/problems/partition-equal-subset-sum |
| 524 | 217 | Contains Duplicate | 56.0% | Easy | 0.03367321510658789 | https://leetcode.com/problems/contains-duplicate |
| 525 | 912 | Sort an Array | 63.9% | Medium | 0.03218010960381167 | https://leetcode.com/problems/sort-an-array |
| 526 | 1114 | Print in Order | 65.7% | Easy | 0.0317486983145803 | https://leetcode.com/problems/print-in-order |
| 527 | 345 | Reverse Vowels of a String | 44.2% | Easy | 0.031112084201956228 | https://leetcode.com/problems/reverse-vowels-of-a-string |
| 528 | 1179 | Reformat Department Table | 80.6% | Easy | 0.030653741091002412 | https://leetcode.com/problems/reformat-department-table |
| 529 | 557 | Reverse Words in a String III | 69.8% | Easy | 0.03063547953861342 | https://leetcode.com/problems/reverse-words-in-a-string-iii |
| 530 | 1027 | Longest Arithmetic Sequence | 53.4% | Medium | 0.03030534949532895 | https://leetcode.com/problems/longest-arithmetic-sequence |
| 531 | 671 | Second Minimum Node In a Binary Tree | 42.7% | Easy | 0.02958795718549609 | https://leetcode.com/problems/second-minimum-node-in-a-binary-tree |
| 532 | 452 | Minimum Number of Arrows to Burst Balloons | 49.6% | Medium | 0.029478921626711667 | https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons |
| 533 | 344 | Reverse String | 68.5% | Easy | 0.029048355159926334 | https://leetcode.com/problems/reverse-string |
| 534 | 77 | Combinations | 54.7% | Medium | 0.028021758737593695 | https://leetcode.com/problems/combinations |
| 535 | 115 | Distinct Subsequences | 38.3% | Hard | 0.027798871362742988 | https://leetcode.com/problems/distinct-subsequences |
| 536 | 249 | Group Shifted Strings | 55.1% | Medium | 0.0276069982440099 | https://leetcode.com/problems/group-shifted-strings |
| 537 | 796 | Rotate String | 49.6% | Easy | 0.02701041988276247 | https://leetcode.com/problems/rotate-string |
| 538 | 118 | Pascal's Triangle | 52.5% | Easy | 0.02673062594465844 | https://leetcode.com/problems/pascals-triangle |
| 539 | 931 | Minimum Falling Path Sum | 62.5% | Medium | 0.02672169681715245 | https://leetcode.com/problems/minimum-falling-path-sum |
| 540 | 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 |
| 541 | 1395 | Count Number of Teams | 82.0% | Medium | 0.025462865161248044 | https://leetcode.com/problems/count-number-of-teams |
| 542 | 162 | Find Peak Element | 43.3% | Medium | 0.02516251642407408 | https://leetcode.com/problems/find-peak-element |
| 543 | 171 | Excel Sheet Column Number | 55.9% | Easy | 0.025015200987536713 | https://leetcode.com/problems/excel-sheet-column-number |
| 544 | 714 | Best Time to Buy and Sell Stock with Transaction Fee | 54.7% | Medium | 0.024258315059789946 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee |
| 545 | 704 | Binary Search | 52.1% | Easy | 0.02368531774150923 | https://leetcode.com/problems/binary-search |
| 546 | 429 | N-ary Tree Level Order Traversal | 65.0% | Medium | 0.023270392682351006 | https://leetcode.com/problems/n-ary-tree-level-order-traversal |
| 547 | 198 | House Robber | 42.0% | Easy | 0.023256862164267263 | https://leetcode.com/problems/house-robber |
| 548 | 414 | Third Maximum Number | 30.5% | Easy | 0.023155137938555212 | https://leetcode.com/problems/third-maximum-number |
| 549 | 684 | Redundant Connection | 57.4% | Medium | 0.02262539951797868 | https://leetcode.com/problems/redundant-connection |
| 550 | 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 |
| 551 | 7 | Reverse Integer | 25.8% | Easy | 0.022564965520585834 | https://leetcode.com/problems/reverse-integer |
| 552 | 108 | Convert Sorted Array to Binary Search Tree | 57.9% | Easy | 0.022033389270751453 | https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree |
| 553 | 1520 | Maximum Number of Non-Overlapping Substrings | 32.8% | Hard | 0.021485667755491482 | https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings |
| 554 | 905 | Sort Array By Parity | 74.1% | Easy | 0.02148053951675942 | https://leetcode.com/problems/sort-array-by-parity |
| 555 | 921 | Minimum Add to Make Parentheses Valid | 73.7% | Medium | 0.021425565169310254 | https://leetcode.com/problems/minimum-add-to-make-parentheses-valid |
| 556 | 459 | Repeated Substring Pattern | 42.2% | Easy | 0.021402636114384706 | https://leetcode.com/problems/repeated-substring-pattern |
| 557 | 485 | Max Consecutive Ones | 54.6% | Easy | 0.021092266245534258 | https://leetcode.com/problems/max-consecutive-ones |
| 558 | 654 | Maximum Binary Tree | 79.9% | Medium | 0.02060866342778963 | https://leetcode.com/problems/maximum-binary-tree |
| 559 | 60 | Permutation Sequence | 38.4% | Hard | 0.020471543980187256 | https://leetcode.com/problems/permutation-sequence |
| 560 | 43 | Multiply Strings | 33.9% | Medium | 0.020459908965027862 | https://leetcode.com/problems/multiply-strings |
| 561 | 392 | Is Subsequence | 49.2% | Easy | 0.02033508842008217 | https://leetcode.com/problems/is-subsequence |
| 562 | 67 | Add Binary | 45.2% | Easy | 0.020171933774613085 | https://leetcode.com/problems/add-binary |
| 563 | 1048 | Longest String Chain | 54.7% | Medium | 0.019361689049145963 | https://leetcode.com/problems/longest-string-chain |
| 564 | 674 | Longest Continuous Increasing Subsequence | 45.9% | Easy | 0.01900294712561538 | https://leetcode.com/problems/longest-continuous-increasing-subsequence |
| 565 | 9 | Palindrome Number | 48.4% | Easy | 0.018837205580381582 | https://leetcode.com/problems/palindrome-number |
| 566 | 965 | Univalued Binary Tree | 67.7% | Easy | 0.018665964249802672 | https://leetcode.com/problems/univalued-binary-tree |
| 567 | 290 | Word Pattern | 37.0% | Easy | 0.01839978311884168 | https://leetcode.com/problems/word-pattern |
| 568 | 590 | N-ary Tree Postorder Traversal | 72.1% | Easy | 0.018182319083190436 | https://leetcode.com/problems/n-ary-tree-postorder-traversal |
| 569 | 346 | Moving Average from Data Stream | 70.9% | Easy | 0.0176683041333139 | https://leetcode.com/problems/moving-average-from-data-stream |
| 570 | 953 | Verifying an Alien Dictionary | 54.1% | Easy | 0.017654440483007624 | https://leetcode.com/problems/verifying-an-alien-dictionary |
| 571 | 383 | Ransom Note | 53.1% | Easy | 0.017621601349819518 | https://leetcode.com/problems/ransom-note |
| 572 | 657 | Robot Return to Origin | 73.5% | Easy | 0.017505917513614497 | https://leetcode.com/problems/robot-return-to-origin |
| 573 | 1266 | Minimum Time Visiting All Points | 79.6% | Easy | 0.017354014693151613 | https://leetcode.com/problems/minimum-time-visiting-all-points |
| 574 | 876 | Middle of the Linked List | 68.4% | Easy | 0.01707497375257815 | https://leetcode.com/problems/middle-of-the-linked-list |
| 575 | 389 | Find the Difference | 55.3% | Easy | 0.016978336534417868 | https://leetcode.com/problems/find-the-difference |
| 576 | 145 | Binary Tree Postorder Traversal | 55.0% | Hard | 0.01682911820009702 | https://leetcode.com/problems/binary-tree-postorder-traversal |
| 577 | 771 | Jewels and Stones | 86.4% | Easy | 0.01631653312373806 | https://leetcode.com/problems/jewels-and-stones |
| 578 | 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 |
| 579 | 125 | Valid Palindrome | 36.7% | Easy | 0.01582781088607703 | https://leetcode.com/problems/valid-palindrome |
| 580 | 404 | Sum of Left Leaves | 50.9% | Easy | 0.013981353230340547 | https://leetcode.com/problems/sum-of-left-leaves |
| 581 | 724 | Find Pivot Index | 44.0% | Easy | 0.013850636933899008 | https://leetcode.com/problems/find-pivot-index |
| 582 | 151 | Reverse Words in a String | 21.9% | Medium | 0.013753273019471011 | https://leetcode.com/problems/reverse-words-in-a-string |
| 583 | 144 | Binary Tree Preorder Traversal | 55.7% | Medium | 0.013667638728663807 | https://leetcode.com/problems/binary-tree-preorder-traversal |
| 584 | 303 | Range Sum Query - Immutable | 44.7% | Easy | 0.013240842236997532 | https://leetcode.com/problems/range-sum-query-immutable |
| 585 | 665 | Non-decreasing Array | 19.5% | Easy | 0.013016779950191773 | https://leetcode.com/problems/non-decreasing-array |
| 586 | 66 | Plus One | 43.0% | Easy | 0.012985087498808112 | https://leetcode.com/problems/plus-one |
| 587 | 219 | Contains Duplicate II | 37.7% | Easy | 0.01276748910345265 | https://leetcode.com/problems/contains-duplicate-ii |
| 588 | 213 | House Robber II | 36.5% | Medium | 0.012654392210497564 | https://leetcode.com/problems/house-robber-ii |
| 589 | 26 | Remove Duplicates from Sorted Array | 45.1% | Easy | 0.012133715163198892 | https://leetcode.com/problems/remove-duplicates-from-sorted-array |
| 590 | 338 | Counting Bits | 69.5% | Medium | 0.01088446119842327 | https://leetcode.com/problems/counting-bits |
| 591 | 1221 | Split a String in Balanced Strings | 83.3% | Easy | 0.008775835172724969 | https://leetcode.com/problems/split-a-string-in-balanced-strings |
| 592 | 154 | Find Minimum in Rotated Sorted Array II | 41.6% | Hard | 0.008482264714858658 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii |
| 593 | 461 | Hamming Distance | 72.8% | Easy | 0.00833685528906183 | https://leetcode.com/problems/hamming-distance |
| 594 | 617 | Merge Two Binary Trees | 74.1% | Easy | 0.008262802639833214 | https://leetcode.com/problems/merge-two-binary-trees |
| 595 | 260 | Single Number III | 64.3% | Medium | 0.008090659020153698 | https://leetcode.com/problems/single-number-iii |
| 596 | 1344 | Angle Between Hands of a Clock | 61.4% | Medium | 0.007795031188053973 | https://leetcode.com/problems/angle-between-hands-of-a-clock |
| 597 | 175 | Combine Two Tables | 60.8% | Easy | 0.007696786120491369 | https://leetcode.com/problems/combine-two-tables |
| 598 | 328 | Odd Even Linked List | 55.7% | Medium | 0.00764383618585562 | https://leetcode.com/problems/odd-even-linked-list |
| 599 | 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 |
| 600 | 142 | Linked List Cycle II | 37.3% | Medium | 0.006564934131150057 | https://leetcode.com/problems/linked-list-cycle-ii |
| 601 | 203 | Remove Linked List Elements | 38.6% | Easy | 0.006479067005887776 | https://leetcode.com/problems/remove-linked-list-elements |
| 602 | 309 | Best Time to Buy and Sell Stock with Cooldown | 47.4% | Medium | 0.006400704591951834 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown |
| 603 | 1431 | Kids With the Greatest Number of Candies | 88.9% | Easy | 0.005927699633275225 | https://leetcode.com/problems/kids-with-the-greatest-number-of-candies |
| 604 | 237 | Delete Node in a Linked List | 63.8% | Easy | 0.005144705881237697 | https://leetcode.com/problems/delete-node-in-a-linked-list |
| 605 | 35 | Search Insert Position | 42.6% | Easy | 0.004646848510375352 | https://leetcode.com/problems/search-insert-position |
| 606 | 797 | All Paths From Source to Target | 77.9% | Medium | 0.0024703569875376783 | https://leetcode.com/problems/all-paths-from-source-to-target |