mirror of
https://github.com/McSmog/LeetCode-Questions-CompanyWise.git
synced 2026-04-19 08:46:45 +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)
```
40 KiB
40 KiB
| 1 | ID | Title | Acceptance | Difficulty | Frequency | Leetcode Question Link |
|---|---|---|---|---|---|---|
| 2 | 1239 | Maximum Length of a Concatenated String with Unique Characters | 47.8% | Medium | 1.08746055306763 | https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters |
| 3 | 273 | Integer to English Words | 27.1% | Hard | 1.0184313643647775 | https://leetcode.com/problems/integer-to-english-words |
| 4 | 146 | LRU Cache | 33.2% | Medium | 0.9494021756619252 | https://leetcode.com/problems/lru-cache |
| 5 | 348 | Design Tic-Tac-Toe | 54.3% | Medium | 0.8803729869590728 | https://leetcode.com/problems/design-tic-tac-toe |
| 6 | 138 | Copy List with Random Pointer | 36.4% | Medium | 0.8113437982562205 | https://leetcode.com/problems/copy-list-with-random-pointer |
| 7 | 54 | Spiral Matrix | 34.1% | Medium | 0.7684855384560624 | https://leetcode.com/problems/spiral-matrix |
| 8 | 428 | Serialize and Deserialize N-ary Tree | 59.4% | Hard | 0.69945634975321 | https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree |
| 9 | 1246 | Palindrome Removal | 46.0% | Hard | 0.6794349186959634 | https://leetcode.com/problems/palindrome-removal |
| 10 | 200 | Number of Islands | 46.8% | Medium | 0.6346004158660578 | https://leetcode.com/problems/number-of-islands |
| 11 | 794 | Valid Tic-Tac-Toe State | 32.6% | Medium | 0.6257058997644127 | https://leetcode.com/problems/valid-tic-tac-toe-state |
| 12 | 42 | Trapping Rain Water | 48.9% | Hard | 0.6176631383787123 | https://leetcode.com/problems/trapping-rain-water |
| 13 | 1 | Two Sum | 45.6% | Easy | 0.5816196797969626 | https://leetcode.com/problems/two-sum |
| 14 | 218 | The Skyline Problem | 34.6% | Hard | 0.5769757487979034 | https://leetcode.com/problems/the-skyline-problem |
| 15 | 134 | Gas Station | 38.5% | Medium | 0.5687668431527801 | https://leetcode.com/problems/gas-station |
| 16 | 25 | Reverse Nodes in k-Group | 42.1% | Hard | 0.5548019913650492 | https://leetcode.com/problems/reverse-nodes-in-k-group |
| 17 | 5 | Longest Palindromic Substring | 29.5% | Medium | 0.5535093105833294 | https://leetcode.com/problems/longest-palindromic-substring |
| 18 | 212 | Word Search II | 34.9% | Hard | 0.5393056293017195 | https://leetcode.com/problems/word-search-ii |
| 19 | 1156 | Swap For Longest Repeated Character Substring | 49.0% | Medium | 0.538996500732687 | https://leetcode.com/problems/swap-for-longest-repeated-character-substring |
| 20 | 340 | Longest Substring with At Most K Distinct Characters | 44.1% | Hard | 0.5227814976619829 | https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters |
| 21 | 545 | Boundary of Binary Tree | 38.9% | Medium | 0.5184398737512361 | https://leetcode.com/problems/boundary-of-binary-tree |
| 22 | 23 | Merge k Sorted Lists | 40.2% | Hard | 0.49122961269552146 | https://leetcode.com/problems/merge-k-sorted-lists |
| 23 | 510 | Inorder Successor in BST II | 58.0% | Medium | 0.47332739722482975 | https://leetcode.com/problems/inorder-successor-in-bst-ii |
| 24 | 93 | Restore IP Addresses | 35.6% | Medium | 0.47237108409270245 | https://leetcode.com/problems/restore-ip-addresses |
| 25 | 443 | String Compression | 41.3% | Easy | 0.4648256809530135 | https://leetcode.com/problems/string-compression |
| 26 | 99 | Recover Binary Search Tree | 39.7% | Hard | 0.4602395756064721 | https://leetcode.com/problems/recover-binary-search-tree |
| 27 | 468 | Validate IP Address | 24.1% | Medium | 0.44558510189758965 | https://leetcode.com/problems/validate-ip-address |
| 28 | 98 | Validate Binary Search Tree | 27.8% | Medium | 0.4300234886494738 | https://leetcode.com/problems/validate-binary-search-tree |
| 29 | 445 | Add Two Numbers II | 54.5% | Medium | 0.4214654494546055 | https://leetcode.com/problems/add-two-numbers-ii |
| 30 | 297 | Serialize and Deserialize Binary Tree | 47.5% | Hard | 0.41418643622197904 | https://leetcode.com/problems/serialize-and-deserialize-binary-tree |
| 31 | 557 | Reverse Words in a String III | 69.8% | Easy | 0.4039661167637743 | https://leetcode.com/problems/reverse-words-in-a-string-iii |
| 32 | 679 | 24 Game | 46.4% | Hard | 0.4013413909243023 | https://leetcode.com/problems/24-game |
| 33 | 240 | Search a 2D Matrix II | 43.2% | Medium | 0.3968649595445255 | https://leetcode.com/problems/search-a-2d-matrix-ii |
| 34 | 232 | Implement Queue using Stacks | 49.6% | Easy | 0.39046720002438196 | https://leetcode.com/problems/implement-queue-using-stacks |
| 35 | 253 | Meeting Rooms II | 45.7% | Medium | 0.37589684188619144 | https://leetcode.com/problems/meeting-rooms-ii |
| 36 | 470 | Implement Rand10() Using Rand7() | 46.3% | Medium | 0.3746934494414107 | https://leetcode.com/problems/implement-rand10-using-rand7 |
| 37 | 22 | Generate Parentheses | 62.7% | Medium | 0.36260140367638205 | https://leetcode.com/problems/generate-parentheses |
| 38 | 127 | Word Ladder | 29.6% | Medium | 0.35996786713577755 | https://leetcode.com/problems/word-ladder |
| 39 | 179 | Largest Number | 28.8% | Medium | 0.35230239652612316 | https://leetcode.com/problems/largest-number |
| 40 | 1185 | Day of the Week | 64.0% | Easy | 0.34898886906784754 | https://leetcode.com/problems/day-of-the-week |
| 41 | 116 | Populating Next Right Pointers in Each Node | 45.2% | Medium | 0.34657253966731805 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node |
| 42 | 1044 | Longest Duplicate Substring | 31.9% | Hard | 0.3378493311698002 | https://leetcode.com/problems/longest-duplicate-substring |
| 43 | 1236 | Web Crawler | 64.3% | Medium | 0.33647223662121295 | https://leetcode.com/problems/web-crawler |
| 44 | 431 | Encode N-ary Tree to Binary Tree | 70.8% | Hard | 0.3308542443169896 | https://leetcode.com/problems/encode-n-ary-tree-to-binary-tree |
| 45 | 535 | Encode and Decode TinyURL | 79.9% | Medium | 0.32631517792451364 | https://leetcode.com/problems/encode-and-decode-tinyurl |
| 46 | 236 | Lowest Common Ancestor of a Binary Tree | 45.7% | Medium | 0.32407608535777543 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree |
| 47 | 450 | Delete Node in a BST | 43.1% | Medium | 0.3212561617242367 | https://leetcode.com/problems/delete-node-in-a-bst |
| 48 | 53 | Maximum Subarray | 46.5% | Easy | 0.3123508739120354 | https://leetcode.com/problems/maximum-subarray |
| 49 | 206 | Reverse Linked List | 62.5% | Easy | 0.31191034127655376 | https://leetcode.com/problems/reverse-linked-list |
| 50 | 105 | Construct Binary Tree from Preorder and Inorder Traversal | 48.8% | Medium | 0.30838486636029755 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal |
| 51 | 33 | Search in Rotated Sorted Array | 34.5% | Medium | 0.3050410442923499 | https://leetcode.com/problems/search-in-rotated-sorted-array |
| 52 | 21 | Merge Two Sorted Lists | 53.5% | Easy | 0.30215325354971423 | https://leetcode.com/problems/merge-two-sorted-lists |
| 53 | 828 | Count Unique Characters of All Substrings of a Given String | 45.2% | Hard | 0.2972515234679316 | https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string |
| 54 | 44 | Wildcard Matching | 24.7% | Hard | 0.29635426006094184 | https://leetcode.com/problems/wildcard-matching |
| 55 | 155 | Min Stack | 44.5% | Easy | 0.29559427979545205 | https://leetcode.com/problems/min-stack |
| 56 | 8 | String to Integer (atoi) | 15.4% | Medium | 0.2948520886157078 | https://leetcode.com/problems/string-to-integer-atoi |
| 57 | 74 | Search a 2D Matrix | 36.5% | Medium | 0.29107845681405486 | https://leetcode.com/problems/search-a-2d-matrix |
| 58 | 767 | Reorganize String | 48.7% | Medium | 0.288685584829021 | https://leetcode.com/problems/reorganize-string |
| 59 | 186 | Reverse Words in a String II | 43.3% | Medium | 0.2811673914305872 | https://leetcode.com/problems/reverse-words-in-a-string-ii |
| 60 | 17 | Letter Combinations of a Phone Number | 46.8% | Medium | 0.27667543227352387 | https://leetcode.com/problems/letter-combinations-of-a-phone-number |
| 61 | 124 | Binary Tree Maximum Path Sum | 34.3% | Hard | 0.2715704477876847 | https://leetcode.com/problems/binary-tree-maximum-path-sum |
| 62 | 46 | Permutations | 63.5% | Medium | 0.2664106369752992 | https://leetcode.com/problems/permutations |
| 63 | 556 | Next Greater Element III | 31.7% | Medium | 0.2619035411237044 | https://leetcode.com/problems/next-greater-element-iii |
| 64 | 37 | Sudoku Solver | 43.6% | Hard | 0.2578291093020998 | https://leetcode.com/problems/sudoku-solver |
| 65 | 2 | Add Two Numbers | 33.9% | Medium | 0.2512393123206071 | https://leetcode.com/problems/add-two-numbers |
| 66 | 56 | Merge Intervals | 39.3% | Medium | 0.24825608514370837 | https://leetcode.com/problems/merge-intervals |
| 67 | 622 | Design Circular Queue | 43.8% | Medium | 0.2454927324105261 | https://leetcode.com/problems/design-circular-queue |
| 68 | 642 | Design Search Autocomplete System | 44.7% | Hard | 0.2443999668520736 | https://leetcode.com/problems/design-search-autocomplete-system |
| 69 | 277 | Find the Celebrity | 41.8% | Medium | 0.24003104821376078 | https://leetcode.com/problems/find-the-celebrity |
| 70 | 419 | Battleships in a Board | 70.0% | Medium | 0.23987034511952326 | https://leetcode.com/problems/battleships-in-a-board |
| 71 | 772 | Basic Calculator III | 41.3% | Hard | 0.2322522675124501 | https://leetcode.com/problems/basic-calculator-iii |
| 72 | 224 | Basic Calculator | 36.8% | Hard | 0.23074173054528113 | https://leetcode.com/problems/basic-calculator |
| 73 | 722 | Remove Comments | 34.6% | Medium | 0.2297333609932653 | https://leetcode.com/problems/remove-comments |
| 74 | 768 | Max Chunks To Make Sorted II | 48.7% | Hard | 0.22767870647960103 | https://leetcode.com/problems/max-chunks-to-make-sorted-ii |
| 75 | 4 | Median of Two Sorted Arrays | 29.6% | Hard | 0.22322170378972916 | https://leetcode.com/problems/median-of-two-sorted-arrays |
| 76 | 49 | Group Anagrams | 56.9% | Medium | 0.21827224887849583 | https://leetcode.com/problems/group-anagrams |
| 77 | 457 | Circular Array Loop | 29.4% | Medium | 0.21472498084861397 | https://leetcode.com/problems/circular-array-loop |
| 78 | 295 | Find Median from Data Stream | 44.3% | Hard | 0.2037476209666304 | https://leetcode.com/problems/find-median-from-data-stream |
| 79 | 24 | Swap Nodes in Pairs | 50.4% | Medium | 0.20268288262258685 | https://leetcode.com/problems/swap-nodes-in-pairs |
| 80 | 151 | Reverse Words in a String | 21.9% | Medium | 0.2001390038307645 | https://leetcode.com/problems/reverse-words-in-a-string |
| 81 | 238 | Product of Array Except Self | 60.1% | Medium | 0.2000977065033704 | https://leetcode.com/problems/product-of-array-except-self |
| 82 | 1375 | Bulb Switcher III | 62.6% | Medium | 0.19622624370172712 | https://leetcode.com/problems/bulb-switcher-iii |
| 83 | 358 | Rearrange String k Distance Apart | 34.9% | Hard | 0.19004360288786493 | https://leetcode.com/problems/rearrange-string-k-distance-apart |
| 84 | 20 | Valid Parentheses | 39.0% | Easy | 0.18885474565167532 | https://leetcode.com/problems/valid-parentheses |
| 85 | 102 | Binary Tree Level Order Traversal | 54.6% | Medium | 0.18653553583602958 | https://leetcode.com/problems/binary-tree-level-order-traversal |
| 86 | 225 | Implement Stack using Queues | 45.1% | Easy | 0.18487389839959817 | https://leetcode.com/problems/implement-stack-using-queues |
| 87 | 460 | LFU Cache | 34.2% | Hard | 0.1794347945215637 | https://leetcode.com/problems/lfu-cache |
| 88 | 41 | First Missing Positive | 32.0% | Hard | 0.17778213804791693 | https://leetcode.com/problems/first-missing-positive |
| 89 | 773 | Sliding Puzzle | 59.3% | Hard | 0.17627924233799203 | https://leetcode.com/problems/sliding-puzzle |
| 90 | 121 | Best Time to Buy and Sell Stock | 50.5% | Easy | 0.17553909756240016 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock |
| 91 | 139 | Word Break | 40.1% | Medium | 0.17496192304962033 | https://leetcode.com/problems/word-break |
| 92 | 636 | Exclusive Time of Functions | 51.9% | Medium | 0.17494800586305592 | https://leetcode.com/problems/exclusive-time-of-functions |
| 93 | 103 | Binary Tree Zigzag Level Order Traversal | 48.3% | Medium | 0.17270709623176486 | https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal |
| 94 | 36 | Valid Sudoku | 48.7% | Medium | 0.16730621375459595 | https://leetcode.com/problems/valid-sudoku |
| 95 | 10 | Regular Expression Matching | 26.8% | Hard | 0.16577722888540247 | https://leetcode.com/problems/regular-expression-matching |
| 96 | 68 | Text Justification | 27.7% | Hard | 0.16143214434637243 | https://leetcode.com/problems/text-justification |
| 97 | 540 | Single Element in a Sorted Array | 57.9% | Medium | 0.16091725953613234 | https://leetcode.com/problems/single-element-in-a-sorted-array |
| 98 | 716 | Max Stack | 42.6% | Easy | 0.16082720489992372 | https://leetcode.com/problems/max-stack |
| 99 | 3 | Longest Substring Without Repeating Characters | 30.4% | Medium | 0.15840625330250555 | https://leetcode.com/problems/longest-substring-without-repeating-characters |
| 100 | 85 | Maximal Rectangle | 37.7% | Hard | 0.15223129344145475 | https://leetcode.com/problems/maximal-rectangle |
| 101 | 126 | Word Ladder II | 22.1% | Hard | 0.15135837956172798 | https://leetcode.com/problems/word-ladder-ii |
| 102 | 362 | Design Hit Counter | 63.7% | Medium | 0.1489960292385938 | https://leetcode.com/problems/design-hit-counter |
| 103 | 706 | Design HashMap | 61.3% | Easy | 0.1476880076475794 | https://leetcode.com/problems/design-hashmap |
| 104 | 15 | 3Sum | 26.8% | Medium | 0.14760362429774962 | https://leetcode.com/problems/3sum |
| 105 | 168 | Excel Sheet Column Title | 31.1% | Easy | 0.14624550032014502 | https://leetcode.com/problems/excel-sheet-column-title |
| 106 | 688 | Knight Probability in Chessboard | 48.9% | Medium | 0.14465605390747982 | https://leetcode.com/problems/knight-probability-in-chessboard |
| 107 | 909 | Snakes and Ladders | 38.4% | Medium | 0.14465605390747982 | https://leetcode.com/problems/snakes-and-ladders |
| 108 | 48 | Rotate Image | 56.7% | Medium | 0.1436966644013734 | https://leetcode.com/problems/rotate-image |
| 109 | 863 | All Nodes Distance K in Binary Tree | 55.4% | Medium | 0.14315784643382565 | https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree |
| 110 | 836 | Rectangle Overlap | 48.6% | Easy | 0.14261022668001652 | https://leetcode.com/problems/rectangle-overlap |
| 111 | 75 | Sort Colors | 47.3% | Medium | 0.14097981038702445 | https://leetcode.com/problems/sort-colors |
| 112 | 207 | Course Schedule | 43.1% | Medium | 0.1402270159030123 | https://leetcode.com/problems/course-schedule |
| 113 | 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 |
| 114 | 88 | Merge Sorted Array | 39.4% | Easy | 0.13778071743544493 | https://leetcode.com/problems/merge-sorted-array |
| 115 | 1136 | Parallel Courses | 61.1% | Hard | 0.13720112151348504 | https://leetcode.com/problems/parallel-courses |
| 116 | 128 | Longest Consecutive Sequence | 45.1% | Hard | 0.13583040733187832 | https://leetcode.com/problems/longest-consecutive-sequence |
| 117 | 143 | Reorder List | 37.1% | Medium | 0.13338577922783287 | https://leetcode.com/problems/reorder-list |
| 118 | 73 | Set Matrix Zeroes | 43.1% | Medium | 0.1332673662203486 | https://leetcode.com/problems/set-matrix-zeroes |
| 119 | 449 | Serialize and Deserialize BST | 52.0% | Medium | 0.1327502812764459 | https://leetcode.com/problems/serialize-and-deserialize-bst |
| 120 | 285 | Inorder Successor in BST | 40.4% | Medium | 0.13204807962078746 | https://leetcode.com/problems/inorder-successor-in-bst |
| 121 | 148 | Sort List | 42.3% | Medium | 0.1292970884857343 | https://leetcode.com/problems/sort-list |
| 122 | 173 | Binary Search Tree Iterator | 56.6% | Medium | 0.1278674715252332 | https://leetcode.com/problems/binary-search-tree-iterator |
| 123 | 528 | Random Pick with Weight | 43.9% | Medium | 0.12617342152539626 | https://leetcode.com/problems/random-pick-with-weight |
| 124 | 315 | Count of Smaller Numbers After Self | 41.5% | Hard | 0.12231037767091538 | https://leetcode.com/problems/count-of-smaller-numbers-after-self |
| 125 | 135 | Candy | 31.6% | Hard | 0.11408368723037224 | https://leetcode.com/problems/candy |
| 126 | 1188 | Design Bounded Blocking Queue | 70.5% | Medium | 0.11030454201470608 | https://leetcode.com/problems/design-bounded-blocking-queue |
| 127 | 269 | Alien Dictionary | 33.3% | Hard | 0.10913301925275698 | https://leetcode.com/problems/alien-dictionary |
| 128 | 695 | Max Area of Island | 62.7% | Medium | 0.10876995385464024 | https://leetcode.com/problems/max-area-of-island |
| 129 | 204 | Count Primes | 31.5% | Easy | 0.10755824083435236 | https://leetcode.com/problems/count-primes |
| 130 | 346 | Moving Average from Data Stream | 70.9% | Easy | 0.10562785959739482 | https://leetcode.com/problems/moving-average-from-data-stream |
| 131 | 158 | Read N Characters Given Read4 II - Call multiple times | 33.8% | Hard | 0.10090468412429855 | https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times |
| 132 | 69 | Sqrt(x) | 33.9% | Easy | 0.09855995053811686 | https://leetcode.com/problems/sqrtx |
| 133 | 117 | Populating Next Right Pointers in Each Node II | 39.1% | Medium | 0.09811785595852335 | https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii |
| 134 | 189 | Rotate Array | 34.7% | Easy | 0.09617246233782387 | https://leetcode.com/problems/rotate-array |
| 135 | 149 | Max Points on a Line | 16.9% | Hard | 0.09588177170328253 | https://leetcode.com/problems/max-points-on-a-line |
| 136 | 160 | Intersection of Two Linked Lists | 40.6% | Easy | 0.09485223529696123 | https://leetcode.com/problems/intersection-of-two-linked-lists |
| 137 | 165 | Compare Version Numbers | 27.4% | Medium | 0.09483978737982436 | https://leetcode.com/problems/compare-version-numbers |
| 138 | 268 | Missing Number | 51.7% | Easy | 0.0944647771866196 | https://leetcode.com/problems/missing-number |
| 139 | 426 | Convert Binary Search Tree to Sorted Doubly Linked List | 59.1% | Medium | 0.09352605801082346 | https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list |
| 140 | 727 | Minimum Window Subsequence | 41.8% | Hard | 0.09294611250944432 | https://leetcode.com/problems/minimum-window-subsequence |
| 141 | 239 | Sliding Window Maximum | 43.0% | Hard | 0.09271146326206103 | https://leetcode.com/problems/sliding-window-maximum |
| 142 | 266 | Palindrome Permutation | 61.9% | Easy | 0.091248671465145 | https://leetcode.com/problems/palindrome-permutation |
| 143 | 252 | Meeting Rooms | 54.6% | Easy | 0.09020195522698488 | https://leetcode.com/problems/meeting-rooms |
| 144 | 92 | Reverse Linked List II | 38.8% | Medium | 0.0901510969942975 | https://leetcode.com/problems/reverse-linked-list-ii |
| 145 | 567 | Permutation in String | 44.4% | Medium | 0.08995633353390375 | https://leetcode.com/problems/permutation-in-string |
| 146 | 79 | Word Search | 35.6% | Medium | 0.08958359637385262 | https://leetcode.com/problems/word-search |
| 147 | 1116 | Print Zero Even Odd | 56.0% | Medium | 0.08934510033584994 | https://leetcode.com/problems/print-zero-even-odd |
| 148 | 380 | Insert Delete GetRandom O(1) | 47.5% | Medium | 0.08509738264123867 | https://leetcode.com/problems/insert-delete-getrandom-o1 |
| 149 | 317 | Shortest Distance from All Buildings | 41.4% | Hard | 0.08345897538526194 | https://leetcode.com/problems/shortest-distance-from-all-buildings |
| 150 | 45 | Jump Game II | 30.6% | Hard | 0.08280590368423257 | https://leetcode.com/problems/jump-game-ii |
| 151 | 13 | Roman to Integer | 55.7% | Easy | 0.08237818622149326 | https://leetcode.com/problems/roman-to-integer |
| 152 | 543 | Diameter of Binary Tree | 48.4% | Easy | 0.0816884620507733 | https://leetcode.com/problems/diameter-of-binary-tree |
| 153 | 89 | Gray Code | 49.1% | Medium | 0.08112554481236843 | https://leetcode.com/problems/gray-code |
| 154 | 43 | Multiply Strings | 33.9% | Medium | 0.07944184170158367 | https://leetcode.com/problems/multiply-strings |
| 155 | 32 | Longest Valid Parentheses | 28.4% | Hard | 0.07916219339634281 | https://leetcode.com/problems/longest-valid-parentheses |
| 156 | 208 | Implement Trie (Prefix Tree) | 49.4% | Medium | 0.07910997849332738 | https://leetcode.com/problems/implement-trie-prefix-tree |
| 157 | 322 | Coin Change | 35.5% | Medium | 0.07859731751631634 | https://leetcode.com/problems/coin-change |
| 158 | 1104 | Path In Zigzag Labelled Binary Tree | 72.0% | Medium | 0.07786032177227234 | https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree |
| 159 | 125 | Valid Palindrome | 36.7% | Easy | 0.07766984472754161 | https://leetcode.com/problems/valid-palindrome |
| 160 | 129 | Sum Root to Leaf Numbers | 49.1% | Medium | 0.07707974254287937 | https://leetcode.com/problems/sum-root-to-leaf-numbers |
| 161 | 77 | Combinations | 54.7% | Medium | 0.07597820557665204 | https://leetcode.com/problems/combinations |
| 162 | 227 | Basic Calculator II | 36.9% | Medium | 0.07508779675444797 | https://leetcode.com/problems/basic-calculator-ii |
| 163 | 76 | Minimum Window Substring | 34.6% | Hard | 0.07378420845373558 | https://leetcode.com/problems/minimum-window-substring |
| 164 | 1079 | Letter Tile Possibilities | 75.4% | Medium | 0.07350246199292652 | https://leetcode.com/problems/letter-tile-possibilities |
| 165 | 153 | Find Minimum in Rotated Sorted Array | 45.1% | Medium | 0.07343579359779528 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array |
| 166 | 133 | Clone Graph | 34.8% | Medium | 0.07095173597228444 | https://leetcode.com/problems/clone-graph |
| 167 | 438 | Find All Anagrams in a String | 43.3% | Medium | 0.07086789751218016 | https://leetcode.com/problems/find-all-anagrams-in-a-string |
| 168 | 442 | Find All Duplicates in an Array | 67.8% | Medium | 0.07083107135140704 | https://leetcode.com/problems/find-all-duplicates-in-an-array |
| 169 | 378 | Kth Smallest Element in a Sorted Matrix | 54.3% | Medium | 0.07059096970081927 | https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix |
| 170 | 234 | Palindrome Linked List | 39.3% | Easy | 0.07018115380216305 | https://leetcode.com/problems/palindrome-linked-list |
| 171 | 432 | All O`one Data Structure | 32.4% | Hard | 0.06887402901251127 | https://leetcode.com/problems/all-oone-data-structure |
| 172 | 171 | Excel Sheet Column Number | 55.9% | Easy | 0.06799791190723256 | https://leetcode.com/problems/excel-sheet-column-number |
| 173 | 328 | Odd Even Linked List | 55.7% | Medium | 0.06677800280143044 | https://leetcode.com/problems/odd-even-linked-list |
| 174 | 1145 | Binary Tree Coloring Game | 51.2% | Medium | 0.06592172080482424 | https://leetcode.com/problems/binary-tree-coloring-game |
| 175 | 287 | Find the Duplicate Number | 55.5% | Medium | 0.06539148783312071 | https://leetcode.com/problems/find-the-duplicate-number |
| 176 | 769 | Max Chunks To Make Sorted | 54.8% | Medium | 0.06474752939415815 | https://leetcode.com/problems/max-chunks-to-make-sorted |
| 177 | 572 | Subtree of Another Tree | 44.1% | Easy | 0.0636184974149243 | https://leetcode.com/problems/subtree-of-another-tree |
| 178 | 412 | Fizz Buzz | 62.3% | Easy | 0.06271647386762642 | https://leetcode.com/problems/fizz-buzz |
| 179 | 59 | Spiral Matrix II | 53.9% | Medium | 0.06172417859532683 | https://leetcode.com/problems/spiral-matrix-ii |
| 180 | 110 | Balanced Binary Tree | 43.5% | Easy | 0.06153684147582857 | https://leetcode.com/problems/balanced-binary-tree |
| 181 | 61 | Rotate List | 30.0% | Medium | 0.06047791896280124 | https://leetcode.com/problems/rotate-list |
| 182 | 384 | Shuffle an Array | 52.8% | Medium | 0.05965241992885116 | https://leetcode.com/problems/shuffle-an-array |
| 183 | 630 | Course Schedule III | 33.5% | Hard | 0.058581901624802396 | https://leetcode.com/problems/course-schedule-iii |
| 184 | 516 | Longest Palindromic Subsequence | 53.2% | Medium | 0.058432099871092734 | https://leetcode.com/problems/longest-palindromic-subsequence |
| 185 | 417 | Pacific Atlantic Water Flow | 41.1% | Medium | 0.057523844138186606 | https://leetcode.com/problems/pacific-atlantic-water-flow |
| 186 | 403 | Frog Jump | 39.7% | Hard | 0.05741372523004705 | https://leetcode.com/problems/frog-jump |
| 187 | 950 | Reveal Cards In Increasing Order | 74.6% | Medium | 0.056592185311170023 | https://leetcode.com/problems/reveal-cards-in-increasing-order |
| 188 | 653 | Two Sum IV - Input is a BST | 55.5% | Easy | 0.055724721838100025 | https://leetcode.com/problems/two-sum-iv-input-is-a-bst |
| 189 | 703 | Kth Largest Element in a Stream | 49.7% | Easy | 0.054472280837981495 | https://leetcode.com/problems/kth-largest-element-in-a-stream |
| 190 | 332 | Reconstruct Itinerary | 36.7% | Medium | 0.053921416793820044 | https://leetcode.com/problems/reconstruct-itinerary |
| 191 | 1229 | Meeting Scheduler | 52.7% | Medium | 0.053560323833736816 | https://leetcode.com/problems/meeting-scheduler |
| 192 | 140 | Word Break II | 32.6% | Hard | 0.05343926880276723 | https://leetcode.com/problems/word-break-ii |
| 193 | 63 | Unique Paths II | 34.6% | Medium | 0.05324937607387791 | https://leetcode.com/problems/unique-paths-ii |
| 194 | 286 | Walls and Gates | 54.5% | Medium | 0.05155780966485001 | https://leetcode.com/problems/walls-and-gates |
| 195 | 681 | Next Closest Time | 45.0% | Medium | 0.05045206096038863 | https://leetcode.com/problems/next-closest-time |
| 196 | 39 | Combination Sum | 56.1% | Medium | 0.05030398316850793 | https://leetcode.com/problems/combination-sum |
| 197 | 235 | Lowest Common Ancestor of a Binary Search Tree | 49.9% | Easy | 0.050282057186910374 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree |
| 198 | 387 | First Unique Character in a String | 53.4% | Easy | 0.05010248394501295 | https://leetcode.com/problems/first-unique-character-in-a-string |
| 199 | 199 | Binary Tree Right Side View | 54.1% | Medium | 0.05001737032794516 | https://leetcode.com/problems/binary-tree-right-side-view |
| 200 | 394 | Decode String | 50.0% | Medium | 0.049980419824640375 | https://leetcode.com/problems/decode-string |
| 201 | 518 | Coin Change 2 | 50.2% | Medium | 0.04919528672454412 | https://leetcode.com/problems/coin-change-2 |
| 202 | 969 | Pancake Sorting | 67.5% | Medium | 0.04908961019652358 | https://leetcode.com/problems/pancake-sorting |
| 203 | 759 | Employee Free Time | 66.3% | Hard | 0.04861224405509378 | https://leetcode.com/problems/employee-free-time |
| 204 | 38 | Count and Say | 44.6% | Easy | 0.04795702191135356 | https://leetcode.com/problems/count-and-say |
| 205 | 26 | Remove Duplicates from Sorted Array | 45.1% | Easy | 0.0476757427679509 | https://leetcode.com/problems/remove-duplicates-from-sorted-array |
| 206 | 845 | Longest Mountain in Array | 37.2% | Medium | 0.047458490406358134 | https://leetcode.com/problems/longest-mountain-in-array |
| 207 | 987 | Vertical Order Traversal of a Binary Tree | 36.6% | Medium | 0.04561794346101633 | https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree |
| 208 | 680 | Valid Palindrome II | 36.6% | Easy | 0.04470617503841694 | https://leetcode.com/problems/valid-palindrome-ii |
| 209 | 935 | Knight Dialer | 45.2% | Medium | 0.04445176257083384 | https://leetcode.com/problems/knight-dialer |
| 210 | 529 | Minesweeper | 59.1% | Medium | 0.044255009004040724 | https://leetcode.com/problems/minesweeper |
| 211 | 733 | Flood Fill | 55.3% | Easy | 0.04413292021115189 | https://leetcode.com/problems/flood-fill |
| 212 | 509 | Fibonacci Number | 67.2% | Easy | 0.04365218172593638 | https://leetcode.com/problems/fibonacci-number |
| 213 | 490 | The Maze | 51.4% | Medium | 0.04287902305923364 | https://leetcode.com/problems/the-maze |
| 214 | 721 | Accounts Merge | 48.8% | Medium | 0.04200337458562934 | https://leetcode.com/problems/accounts-merge |
| 215 | 532 | K-diff Pairs in an Array | 31.6% | Easy | 0.041672696400568025 | https://leetcode.com/problems/k-diff-pairs-in-an-array |
| 216 | 844 | Backspace String Compare | 46.4% | Easy | 0.041499730906752734 | https://leetcode.com/problems/backspace-string-compare |
| 217 | 381 | Insert Delete GetRandom O(1) - Duplicates allowed | 34.1% | Hard | 0.041499730906752734 | https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed |
| 218 | 1004 | Max Consecutive Ones III | 59.1% | Medium | 0.041252411938220004 | https://leetcode.com/problems/max-consecutive-ones-iii |
| 219 | 62 | Unique Paths | 54.1% | Medium | 0.04084052144450833 | https://leetcode.com/problems/unique-paths |
| 220 | 243 | Shortest Word Distance | 61.0% | Easy | 0.040780370344928096 | https://leetcode.com/problems/shortest-word-distance |
| 221 | 907 | Sum of Subarray Minimums | 32.3% | Medium | 0.04069737616380998 | https://leetcode.com/problems/sum-of-subarray-minimums |
| 222 | 94 | Binary Tree Inorder Traversal | 63.3% | Medium | 0.04034464989190718 | https://leetcode.com/problems/binary-tree-inorder-traversal |
| 223 | 142 | Linked List Cycle II | 37.3% | Medium | 0.04034106216103786 | https://leetcode.com/problems/linked-list-cycle-ii |
| 224 | 314 | Binary Tree Vertical Order Traversal | 45.3% | Medium | 0.04007660092703385 | https://leetcode.com/problems/binary-tree-vertical-order-traversal |
| 225 | 833 | Find And Replace in String | 50.4% | Medium | 0.03984590854719967 | https://leetcode.com/problems/find-and-replace-in-string |
| 226 | 113 | Path Sum II | 46.7% | Medium | 0.03857758982167768 | https://leetcode.com/problems/path-sum-ii |
| 227 | 1381 | Design a Stack With Increment Operation | 74.7% | Medium | 0.038355612390321446 | https://leetcode.com/problems/design-a-stack-with-increment-operation |
| 228 | 560 | Subarray Sum Equals K | 43.9% | Medium | 0.037871360699521406 | https://leetcode.com/problems/subarray-sum-equals-k |
| 229 | 402 | Remove K Digits | 28.4% | Medium | 0.03755134565213245 | https://leetcode.com/problems/remove-k-digits |
| 230 | 19 | Remove Nth Node From End of List | 35.2% | Medium | 0.03704967488869408 | https://leetcode.com/problems/remove-nth-node-from-end-of-list |
| 231 | 31 | Next Permutation | 32.6% | Medium | 0.03686102113159897 | https://leetcode.com/problems/next-permutation |
| 232 | 621 | Task Scheduler | 50.1% | Medium | 0.036825978166247095 | https://leetcode.com/problems/task-scheduler |
| 233 | 729 | My Calendar I | 51.8% | Medium | 0.036433902246102004 | https://leetcode.com/problems/my-calendar-i |
| 234 | 934 | Shortest Bridge | 48.2% | Medium | 0.03607244121670154 | https://leetcode.com/problems/shortest-bridge |
| 235 | 1304 | Find N Unique Integers Sum up to Zero | 76.3% | Easy | 0.035408891906255915 | https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero |
| 236 | 28 | Implement strStr() | 34.5% | Easy | 0.03494144277828229 | https://leetcode.com/problems/implement-strstr |
| 237 | 1143 | Longest Common Subsequence | 58.4% | Medium | 0.03488472325916733 | https://leetcode.com/problems/longest-common-subsequence |
| 238 | 701 | Insert into a Binary Search Tree | 77.7% | Medium | 0.03459222693591465 | https://leetcode.com/problems/insert-into-a-binary-search-tree |
| 239 | 108 | Convert Sorted Array to Binary Search Tree | 57.9% | Easy | 0.03421710570764629 | https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree |
| 240 | 104 | Maximum Depth of Binary Tree | 66.0% | Easy | 0.03362699323605452 | https://leetcode.com/problems/maximum-depth-of-binary-tree |
| 241 | 198 | House Robber | 42.0% | Easy | 0.033320991026093004 | https://leetcode.com/problems/house-robber |
| 242 | 84 | Largest Rectangle in Histogram | 35.2% | Hard | 0.032938342019369966 | https://leetcode.com/problems/largest-rectangle-in-histogram |
| 243 | 694 | Number of Distinct Islands | 56.0% | Medium | 0.03278982282299087 | https://leetcode.com/problems/number-of-distinct-islands |
| 244 | 1091 | Shortest Path in Binary Matrix | 38.2% | Medium | 0.03164821095078173 | https://leetcode.com/problems/shortest-path-in-binary-matrix |
| 245 | 228 | Summary Ranges | 39.5% | Medium | 0.03157326191609021 | https://leetcode.com/problems/summary-ranges |
| 246 | 867 | Transpose Matrix | 62.8% | Easy | 0.031179454774354007 | https://leetcode.com/problems/transpose-matrix |
| 247 | 284 | Peeking Iterator | 45.7% | Medium | 0.03110670713225487 | https://leetcode.com/problems/peeking-iterator |
| 248 | 131 | Palindrome Partitioning | 47.5% | Medium | 0.03101558050692165 | https://leetcode.com/problems/palindrome-partitioning |
| 249 | 141 | Linked List Cycle | 41.1% | Easy | 0.031012908394529512 | https://leetcode.com/problems/linked-list-cycle |
| 250 | 724 | Find Pivot Index | 44.0% | Easy | 0.03089844155123413 | https://leetcode.com/problems/find-pivot-index |
| 251 | 575 | Distribute Candies | 61.4% | Easy | 0.030890487019338404 | https://leetcode.com/problems/distribute-candies |
| 252 | 415 | Add Strings | 47.5% | Easy | 0.030009753867991852 | https://leetcode.com/problems/add-strings |
| 253 | 692 | Top K Frequent Words | 51.8% | Medium | 0.029730915184679466 | https://leetcode.com/problems/top-k-frequent-words |
| 254 | 1197 | Minimum Knight Moves | 36.1% | Medium | 0.02969780239174205 | https://leetcode.com/problems/minimum-knight-moves |
| 255 | 917 | Reverse Only Letters | 58.0% | Easy | 0.0286552557603761 | https://leetcode.com/problems/reverse-only-letters |
| 256 | 311 | Sparse Matrix Multiplication | 61.9% | Medium | 0.027702602549335792 | https://leetcode.com/problems/sparse-matrix-multiplication |
| 257 | 472 | Concatenated Words | 43.7% | Hard | 0.027664281472355556 | https://leetcode.com/problems/concatenated-words |
| 258 | 159 | Longest Substring with At Most Two Distinct Characters | 49.4% | Medium | 0.02717558537896476 | https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters |
| 259 | 523 | Continuous Subarray Sum | 24.6% | Medium | 0.02639449412294209 | https://leetcode.com/problems/continuous-subarray-sum |
| 260 | 34 | Find First and Last Position of Element in Sorted Array | 36.2% | Medium | 0.026256496787488606 | https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array |
| 261 | 979 | Distribute Coins in Binary Tree | 68.9% | Medium | 0.026196651946570663 | https://leetcode.com/problems/distribute-coins-in-binary-tree |
| 262 | 205 | Isomorphic Strings | 39.8% | Easy | 0.025789394882914186 | https://leetcode.com/problems/isomorphic-strings |
| 263 | 242 | Valid Anagram | 56.9% | Easy | 0.025684584297773504 | https://leetcode.com/problems/valid-anagram |
| 264 | 1038 | Binary Search Tree to Greater Sum Tree | 80.8% | Medium | 0.025446665661164262 | https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree |
| 265 | 717 | 1-bit and 2-bit Characters | 48.8% | Easy | 0.025269822188076344 | https://leetcode.com/problems/1-bit-and-2-bit-characters |
| 266 | 83 | Remove Duplicates from Sorted List | 45.4% | Easy | 0.025174394259350617 | https://leetcode.com/problems/remove-duplicates-from-sorted-list |
| 267 | 215 | Kth Largest Element in an Array | 55.4% | Medium | 0.02414409892936099 | https://leetcode.com/problems/kth-largest-element-in-an-array |
| 268 | 662 | Maximum Width of Binary Tree | 41.0% | Medium | 0.024116924478312346 | https://leetcode.com/problems/maximum-width-of-binary-tree |
| 269 | 91 | Decode Ways | 24.7% | Medium | 0.023662742620848144 | https://leetcode.com/problems/decode-ways |
| 270 | 210 | Course Schedule II | 40.7% | Medium | 0.023133880315464483 | https://leetcode.com/problems/course-schedule-ii |
| 271 | 282 | Expression Add Operators | 35.5% | Hard | 0.022523474667082946 | https://leetcode.com/problems/expression-add-operators |
| 272 | 981 | Time Based Key-Value Store | 53.1% | Medium | 0.02226024024151985 | https://leetcode.com/problems/time-based-key-value-store |
| 273 | 152 | Maximum Product Subarray | 31.7% | Medium | 0.022176931045949227 | https://leetcode.com/problems/maximum-product-subarray |
| 274 | 40 | Combination Sum II | 48.2% | Medium | 0.021424290044083395 | https://leetcode.com/problems/combination-sum-ii |
| 275 | 101 | Symmetric Tree | 46.8% | Easy | 0.02109782896463587 | https://leetcode.com/problems/symmetric-tree |
| 276 | 784 | Letter Case Permutation | 64.6% | Medium | 0.02026411791905559 | https://leetcode.com/problems/letter-case-permutation |
| 277 | 344 | Reverse String | 68.5% | Easy | 0.02026165432744944 | https://leetcode.com/problems/reverse-string |
| 278 | 166 | Fraction to Recurring Decimal | 21.6% | Medium | 0.02015181543730795 | https://leetcode.com/problems/fraction-to-recurring-decimal |
| 279 | 341 | Flatten Nested List Iterator | 52.9% | Medium | 0.019980684690483426 | https://leetcode.com/problems/flatten-nested-list-iterator |
| 280 | 399 | Evaluate Division | 51.6% | Medium | 0.019380451549662482 | https://leetcode.com/problems/evaluate-division |
| 281 | 669 | Trim a Binary Search Tree | 63.0% | Easy | 0.019139340210697423 | https://leetcode.com/problems/trim-a-binary-search-tree |
| 282 | 515 | Find Largest Value in Each Tree Row | 61.1% | Medium | 0.019093658815579673 | https://leetcode.com/problems/find-largest-value-in-each-tree-row |
| 283 | 1155 | Number of Dice Rolls With Target Sum | 49.0% | Medium | 0.018904154639152678 | https://leetcode.com/problems/number-of-dice-rolls-with-target-sum |
| 284 | 169 | Majority Element | 58.7% | Easy | 0.018694317054881164 | https://leetcode.com/problems/majority-element |
| 285 | 290 | Word Pattern | 37.0% | Easy | 0.01839978311884168 | https://leetcode.com/problems/word-pattern |
| 286 | 283 | Move Zeroes | 57.8% | Easy | 0.01789853050377608 | https://leetcode.com/problems/move-zeroes |
| 287 | 406 | Queue Reconstruction by Height | 66.9% | Medium | 0.01774669468133533 | https://leetcode.com/problems/queue-reconstruction-by-height |
| 288 | 383 | Ransom Note | 53.1% | Easy | 0.017621601349819518 | https://leetcode.com/problems/ransom-note |
| 289 | 872 | Leaf-Similar Trees | 64.5% | Easy | 0.01752125418714782 | https://leetcode.com/problems/leaf-similar-trees |
| 290 | 993 | Cousins in Binary Tree | 52.0% | Easy | 0.017414458368636587 | https://leetcode.com/problems/cousins-in-binary-tree |
| 291 | 6 | ZigZag Conversion | 36.3% | Medium | 0.01726827253226344 | https://leetcode.com/problems/zigzag-conversion |
| 292 | 270 | Closest Binary Search Tree Value | 48.5% | Easy | 0.017123706078591462 | https://leetcode.com/problems/closest-binary-search-tree-value |
| 293 | 994 | Rotting Oranges | 49.2% | Medium | 0.017087941897195622 | https://leetcode.com/problems/rotting-oranges |
| 294 | 95 | Unique Binary Search Trees II | 40.6% | Medium | 0.016856699181010838 | https://leetcode.com/problems/unique-binary-search-trees-ii |
| 295 | 7 | Reverse Integer | 25.8% | Easy | 0.016627790608488954 | https://leetcode.com/problems/reverse-integer |
| 296 | 51 | N-Queens | 46.6% | Hard | 0.016393809775676407 | https://leetcode.com/problems/n-queens |
| 297 | 71 | Simplify Path | 32.6% | Medium | 0.016260520871780308 | https://leetcode.com/problems/simplify-path |
| 298 | 349 | Intersection of Two Arrays | 62.5% | Easy | 0.016239981598488416 | https://leetcode.com/problems/intersection-of-two-arrays |
| 299 | 299 | Bulls and Cows | 42.4% | Easy | 0.016227536621756702 | https://leetcode.com/problems/bulls-and-cows |
| 300 | 448 | Find All Numbers Disappeared in an Array | 55.9% | Easy | 0.015377032870589537 | https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array |
| 301 | 707 | Design Linked List | 24.5% | Medium | 0.015054857167065819 | https://leetcode.com/problems/design-linked-list |
| 302 | 832 | Flipping an Image | 76.2% | Easy | 0.014652276786870392 | https://leetcode.com/problems/flipping-an-image |
| 303 | 150 | Evaluate Reverse Polish Notation | 36.3% | Medium | 0.01413451093490476 | https://leetcode.com/problems/evaluate-reverse-polish-notation |
| 304 | 202 | Happy Number | 50.4% | Easy | 0.014045174703047602 | https://leetcode.com/problems/happy-number |
| 305 | 222 | Count Complete Tree Nodes | 46.8% | Medium | 0.014015646388344492 | https://leetcode.com/problems/count-complete-tree-nodes |
| 306 | 1192 | Critical Connections in a Network | 48.6% | Hard | 0.01352742981715631 | https://leetcode.com/problems/critical-connections-in-a-network |
| 307 | 70 | Climbing Stairs | 47.8% | Easy | 0.013494975575004323 | https://leetcode.com/problems/climbing-stairs |
| 308 | 329 | Longest Increasing Path in a Matrix | 43.4% | Hard | 0.013400535537482126 | https://leetcode.com/problems/longest-increasing-path-in-a-matrix |
| 309 | 347 | Top K Frequent Elements | 61.2% | Medium | 0.01329217620893675 | https://leetcode.com/problems/top-k-frequent-elements |
| 310 | 303 | Range Sum Query - Immutable | 44.7% | Easy | 0.013240842236997532 | https://leetcode.com/problems/range-sum-query-immutable |
| 311 | 14 | Longest Common Prefix | 35.4% | Easy | 0.013215687512885701 | https://leetcode.com/problems/longest-common-prefix |
| 312 | 82 | Remove Duplicates from Sorted List II | 36.8% | Medium | 0.01297035044262745 | https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii |
| 313 | 219 | Contains Duplicate II | 37.7% | Easy | 0.01276748910345265 | https://leetcode.com/problems/contains-duplicate-ii |
| 314 | 226 | Invert Binary Tree | 65.0% | Easy | 0.01235091863400913 | https://leetcode.com/problems/invert-binary-tree |
| 315 | 547 | Friend Circles | 58.6% | Medium | 0.012228828639434596 | https://leetcode.com/problems/friend-circles |
| 316 | 437 | Path Sum III | 47.2% | Medium | 0.012128711446614806 | https://leetcode.com/problems/path-sum-iii |
| 317 | 278 | First Bad Version | 35.7% | Easy | 0.012090421323816148 | https://leetcode.com/problems/first-bad-version |
| 318 | 300 | Longest Increasing Subsequence | 42.6% | Medium | 0.011806512586989004 | https://leetcode.com/problems/longest-increasing-subsequence |
| 319 | 136 | Single Number | 65.5% | Easy | 0.011429512235126808 | https://leetcode.com/problems/single-number |
| 320 | 785 | Is Graph Bipartite? | 47.5% | Medium | 0.011236073266925854 | https://leetcode.com/problems/is-graph-bipartite |
| 321 | 463 | Island Perimeter | 65.7% | Easy | 0.010935046086198837 | https://leetcode.com/problems/island-perimeter |
| 322 | 430 | Flatten a Multilevel Doubly Linked List | 55.1% | Medium | 0.010548621020744619 | https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list |
| 323 | 647 | Palindromic Substrings | 60.6% | Medium | 0.010400509768078022 | https://leetcode.com/problems/palindromic-substrings |
| 324 | 739 | Daily Temperatures | 63.3% | Medium | 0.010032690121814417 | https://leetcode.com/problems/daily-temperatures |
| 325 | 72 | Edit Distance | 44.8% | Hard | 0.010017614452317782 | https://leetcode.com/problems/edit-distance |
| 326 | 221 | Maximal Square | 37.7% | Medium | 0.00988638798855515 | https://leetcode.com/problems/maximal-square |
| 327 | 18 | 4Sum | 33.7% | Medium | 0.00984259914419414 | https://leetcode.com/problems/4sum |
| 328 | 47 | Permutations II | 46.4% | Medium | 0.009673594178378379 | https://leetcode.com/problems/permutations-ii |
| 329 | 96 | Unique Binary Search Trees | 52.9% | Medium | 0.009242209964820877 | https://leetcode.com/problems/unique-binary-search-trees |
| 330 | 279 | Perfect Squares | 47.4% | Medium | 0.009216655104924008 | https://leetcode.com/problems/perfect-squares |
| 331 | 1249 | Minimum Remove to Make Valid Parentheses | 62.5% | Medium | 0.009195467093100304 | https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses |
| 332 | 209 | Minimum Size Subarray Sum | 38.2% | Medium | 0.00841401682484616 | https://leetcode.com/problems/minimum-size-subarray-sum |
| 333 | 78 | Subsets | 62.0% | Medium | 0.008278192969371254 | https://leetcode.com/problems/subsets |
| 334 | 876 | Middle of the Linked List | 68.4% | Easy | 0.007624893975696915 | https://leetcode.com/problems/middle-of-the-linked-list |
| 335 | 122 | Best Time to Buy and Sell Stock II | 57.0% | Easy | 0.007532046655581962 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii |
| 336 | 16 | 3Sum Closest | 46.0% | Medium | 0.0075259057003469075 | https://leetcode.com/problems/3sum-closest |
| 337 | 938 | Range Sum of BST | 81.3% | Easy | 0.007011422237803984 | https://leetcode.com/problems/range-sum-of-bst |
| 338 | 114 | Flatten Binary Tree to Linked List | 49.3% | Medium | 0.006896579059060353 | https://leetcode.com/problems/flatten-binary-tree-to-linked-list |
| 339 | 11 | Container With Most Water | 50.8% | Medium | 0.006889188300412141 | https://leetcode.com/problems/container-with-most-water |
| 340 | 118 | Pascal's Triangle | 52.5% | Easy | 0.006749941254175012 | https://leetcode.com/problems/pascals-triangle |
| 341 | 162 | Find Peak Element | 43.3% | Medium | 0.006350235659345837 | https://leetcode.com/problems/find-peak-element |
| 342 | 64 | Minimum Path Sum | 54.5% | Medium | 0.006127470152097104 | https://leetcode.com/problems/minimum-path-sum |
| 343 | 144 | Binary Tree Preorder Traversal | 55.7% | Medium | 0.0060975798681185 | https://leetcode.com/problems/binary-tree-preorder-traversal |
| 344 | 973 | K Closest Points to Origin | 63.8% | Medium | 0.005773688094426333 | https://leetcode.com/problems/k-closest-points-to-origin |
| 345 | 50 | Pow(x;n) | 30.3% | Medium | 0.0055950070772402055 | https://leetcode.com/problems/powx-n |
| 346 | 167 | Two Sum II - Input array is sorted | 54.1% | Easy | 0.005507380022589096 | https://leetcode.com/problems/two-sum-ii-input-array-is-sorted |
| 347 | 112 | Path Sum | 41.2% | Easy | 0.00546972510956646 | https://leetcode.com/problems/path-sum |
| 348 | 106 | Construct Binary Tree from Inorder and Postorder Traversal | 47.2% | Medium | 0.005258250021550252 | https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal |
| 349 | 350 | Intersection of Two Arrays II | 51.4% | Easy | 0.005210380421193978 | https://leetcode.com/problems/intersection-of-two-arrays-ii |
| 350 | 55 | Jump Game | 34.6% | Medium | 0.005022612266291382 | https://leetcode.com/problems/jump-game |
| 351 | 35 | Search Insert Position | 42.6% | Easy | 0.004646848510375352 | https://leetcode.com/problems/search-insert-position |
| 352 | 1470 | Shuffle the Array | 88.9% | Easy | 0.004527967890154029 | https://leetcode.com/problems/shuffle-the-array |
| 353 | 977 | Squares of a Sorted Array | 72.1% | Easy | 0.003891055492966611 | https://leetcode.com/problems/squares-of-a-sorted-array |
| 354 | 217 | Contains Duplicate | 56.0% | Easy | 0.0037979536727587773 | https://leetcode.com/problems/contains-duplicate |
| 355 | 100 | Same Tree | 53.4% | Easy | 0.003165227373565798 | https://leetcode.com/problems/same-tree |
| 356 | 9 | Palindrome Number | 48.4% | Easy | 0.0030379001110948244 | https://leetcode.com/problems/palindrome-number |
| 357 | 1344 | Angle Between Hands of a Clock | 61.4% | Medium | 0.0019544616795205403 | https://leetcode.com/problems/angle-between-hands-of-a-clock |