mirror of
https://github.com/McSmog/LeetCode-Questions-CompanyWise.git
synced 2026-04-19 16:56: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)
```
25 KiB
25 KiB
| 1 | ID | Title | Acceptance | Difficulty | Frequency | Leetcode Question Link |
|---|---|---|---|---|---|---|
| 2 | 1 | Two Sum | 45.6% | Easy | 0.900096464956218 | https://leetcode.com/problems/two-sum |
| 3 | 2 | Add Two Numbers | 33.9% | Medium | 0.7674901747071898 | https://leetcode.com/problems/add-two-numbers |
| 4 | 741 | Cherry Pickup | 33.9% | Hard | 0.6348838844581617 | https://leetcode.com/problems/cherry-pickup |
| 5 | 21 | Merge Two Sorted Lists | 53.5% | Easy | 0.5022775942091335 | https://leetcode.com/problems/merge-two-sorted-lists |
| 6 | 5 | Longest Palindromic Substring | 29.5% | Medium | 0.36967130396010545 | https://leetcode.com/problems/longest-palindromic-substring |
| 7 | 3 | Longest Substring Without Repeating Characters | 30.4% | Medium | 0.33543751206600453 | https://leetcode.com/problems/longest-substring-without-repeating-characters |
| 8 | 4 | Median of Two Sorted Arrays | 29.6% | Hard | 0.30208546395829133 | https://leetcode.com/problems/median-of-two-sorted-arrays |
| 9 | 15 | 3Sum | 26.8% | Medium | 0.25552496081724957 | https://leetcode.com/problems/3sum |
| 10 | 1096 | Brace Expansion II | 62.2% | Hard | 0.2363887780642304 | https://leetcode.com/problems/brace-expansion-ii |
| 11 | 7 | Reverse Integer | 25.8% | Easy | 0.2202424163450189 | https://leetcode.com/problems/reverse-integer |
| 12 | 192 | Word Frequency | 25.8% | Medium | 0.21614863444241852 | https://leetcode.com/problems/word-frequency |
| 13 | 274 | H-Index | 36.1% | Medium | 0.19380371568797425 | https://leetcode.com/problems/h-index |
| 14 | 206 | Reverse Linked List | 62.5% | Easy | 0.1563653350583309 | https://leetcode.com/problems/reverse-linked-list |
| 15 | 706 | Design HashMap | 61.3% | Easy | 0.1476880076475794 | https://leetcode.com/problems/design-hashmap |
| 16 | 22 | Generate Parentheses | 62.7% | Medium | 0.14612656455721032 | https://leetcode.com/problems/generate-parentheses |
| 17 | 175 | Combine Two Tables | 60.8% | Easy | 0.1453647140234507 | https://leetcode.com/problems/combine-two-tables |
| 18 | 728 | Self Dividing Numbers | 74.3% | Easy | 0.14501328757782014 | https://leetcode.com/problems/self-dividing-numbers |
| 19 | 726 | Number of Atoms | 49.0% | Hard | 0.13804422079620546 | https://leetcode.com/problems/number-of-atoms |
| 20 | 146 | LRU Cache | 33.2% | Medium | 0.13057313078965735 | https://leetcode.com/problems/lru-cache |
| 21 | 42 | Trapping Rain Water | 48.9% | Hard | 0.12389276378675394 | https://leetcode.com/problems/trapping-rain-water |
| 22 | 446 | Arithmetic Slices II - Subsequence | 32.7% | Hard | 0.12099331128663167 | https://leetcode.com/problems/arithmetic-slices-ii-subsequence |
| 23 | 6 | ZigZag Conversion | 36.3% | Medium | 0.11677183708486526 | https://leetcode.com/problems/zigzag-conversion |
| 24 | 368 | Largest Divisible Subset | 38.0% | Medium | 0.11624101530456815 | https://leetcode.com/problems/largest-divisible-subset |
| 25 | 238 | Product of Array Except Self | 60.1% | Medium | 0.11255129774720934 | https://leetcode.com/problems/product-of-array-except-self |
| 26 | 82 | Remove Duplicates from Sorted List II | 36.8% | Medium | 0.1110882064011508 | https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii |
| 27 | 53 | Maximum Subarray | 46.5% | Easy | 0.10102310445192379 | https://leetcode.com/problems/maximum-subarray |
| 28 | 725 | Split Linked List in Parts | 52.2% | Medium | 0.1007562928969156 | https://leetcode.com/problems/split-linked-list-in-parts |
| 29 | 12 | Integer to Roman | 55.1% | Medium | 0.09981819303484349 | https://leetcode.com/problems/integer-to-roman |
| 30 | 836 | Rectangle Overlap | 48.6% | Easy | 0.09358079943969791 | https://leetcode.com/problems/rectangle-overlap |
| 31 | 31 | Next Permutation | 32.6% | Medium | 0.09178119886142269 | https://leetcode.com/problems/next-permutation |
| 32 | 929 | Unique Email Addresses | 67.4% | Easy | 0.09107126584446965 | https://leetcode.com/problems/unique-email-addresses |
| 33 | 11 | Container With Most Water | 50.8% | Medium | 0.08887230664829432 | https://leetcode.com/problems/container-with-most-water |
| 34 | 214 | Shortest Palindrome | 29.8% | Hard | 0.0753494372417868 | https://leetcode.com/problems/shortest-palindrome |
| 35 | 76 | Minimum Window Substring | 34.6% | Hard | 0.07378420845373558 | https://leetcode.com/problems/minimum-window-substring |
| 36 | 987 | Vertical Order Traversal of a Binary Tree | 36.6% | Medium | 0.070392125446596 | https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree |
| 37 | 1114 | Print in Order | 65.7% | Easy | 0.0700675626167169 | https://leetcode.com/problems/print-in-order |
| 38 | 386 | Lexicographical Numbers | 51.6% | Medium | 0.06875559541512997 | https://leetcode.com/problems/lexicographical-numbers |
| 39 | 178 | Rank Scores | 45.8% | Medium | 0.06551667145414991 | https://leetcode.com/problems/rank-scores |
| 40 | 554 | Brick Wall | 50.0% | Medium | 0.0639195177132874 | https://leetcode.com/problems/brick-wall |
| 41 | 771 | Jewels and Stones | 86.4% | Easy | 0.06372709715833007 | https://leetcode.com/problems/jewels-and-stones |
| 42 | 92 | Reverse Linked List II | 38.8% | Medium | 0.0634569616201148 | https://leetcode.com/problems/reverse-linked-list-ii |
| 43 | 23 | Merge k Sorted Lists | 40.2% | Hard | 0.06293239083543646 | https://leetcode.com/problems/merge-k-sorted-lists |
| 44 | 300 | Longest Increasing Subsequence | 42.6% | Medium | 0.06265630749555627 | https://leetcode.com/problems/longest-increasing-subsequence |
| 45 | 115 | Distinct Subsequences | 38.3% | Hard | 0.061494781607806234 | https://leetcode.com/problems/distinct-subsequences |
| 46 | 195 | Tenth Line | 33.0% | Easy | 0.06127490750055161 | https://leetcode.com/problems/tenth-line |
| 47 | 739 | Daily Temperatures | 63.3% | Medium | 0.06111383323222972 | https://leetcode.com/problems/daily-temperatures |
| 48 | 420 | Strong Password Checker | 14.0% | Hard | 0.061087691979838175 | https://leetcode.com/problems/strong-password-checker |
| 49 | 595 | Big Countries | 77.3% | Easy | 0.06097126229595878 | https://leetcode.com/problems/big-countries |
| 50 | 18 | 4Sum | 33.7% | Medium | 0.05998439829836431 | https://leetcode.com/problems/4sum |
| 51 | 88 | Merge Sorted Array | 39.4% | Easy | 0.059258174101133876 | https://leetcode.com/problems/merge-sorted-array |
| 52 | 74 | Search a 2D Matrix | 36.5% | Medium | 0.057001980519332376 | https://leetcode.com/problems/search-a-2d-matrix |
| 53 | 312 | Burst Balloons | 51.8% | Hard | 0.056547726798068784 | https://leetcode.com/problems/burst-balloons |
| 54 | 218 | The Skyline Problem | 34.6% | Hard | 0.0564413109049518 | https://leetcode.com/problems/the-skyline-problem |
| 55 | 177 | Nth Highest Salary | 31.4% | Medium | 0.0562934401878294 | https://leetcode.com/problems/nth-highest-salary |
| 56 | 41 | First Missing Positive | 32.0% | Hard | 0.056273635982108605 | https://leetcode.com/problems/first-missing-positive |
| 57 | 30 | Substring with Concatenation of All Words | 25.4% | Hard | 0.05509349054082484 | https://leetcode.com/problems/substring-with-concatenation-of-all-words |
| 58 | 202 | Happy Number | 50.4% | Easy | 0.05503451923624455 | https://leetcode.com/problems/happy-number |
| 59 | 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 |
| 60 | 601 | Human Traffic of Stadium | 41.7% | Hard | 0.05223119222544569 | https://leetcode.com/problems/human-traffic-of-stadium |
| 61 | 14 | Longest Common Prefix | 35.4% | Easy | 0.051846064173015856 | https://leetcode.com/problems/longest-common-prefix |
| 62 | 681 | Next Closest Time | 45.0% | Medium | 0.05045206096038863 | https://leetcode.com/problems/next-closest-time |
| 63 | 219 | Contains Duplicate II | 37.7% | Easy | 0.05012010405957234 | https://leetcode.com/problems/contains-duplicate-ii |
| 64 | 16 | 3Sum Closest | 46.0% | Medium | 0.04613364174896058 | https://leetcode.com/problems/3sum-closest |
| 65 | 856 | Score of Parentheses | 60.5% | Medium | 0.04567003683318837 | https://leetcode.com/problems/score-of-parentheses |
| 66 | 8 | String to Integer (atoi) | 15.4% | Medium | 0.04549614908874012 | https://leetcode.com/problems/string-to-integer-atoi |
| 67 | 176 | Second Highest Salary | 31.6% | Easy | 0.045338680589061736 | https://leetcode.com/problems/second-highest-salary |
| 68 | 200 | Number of Islands | 46.8% | Medium | 0.04526299408355752 | https://leetcode.com/problems/number-of-islands |
| 69 | 204 | Count Primes | 31.5% | Easy | 0.04340205577484725 | https://leetcode.com/problems/count-primes |
| 70 | 669 | Trim a Binary Search Tree | 63.0% | Easy | 0.04255961441879593 | https://leetcode.com/problems/trim-a-binary-search-tree |
| 71 | 448 | Find All Numbers Disappeared in an Array | 55.9% | Easy | 0.04214343508255059 | https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array |
| 72 | 535 | Encode and Decode TinyURL | 79.9% | Medium | 0.041978881338661234 | https://leetcode.com/problems/encode-and-decode-tinyurl |
| 73 | 155 | Min Stack | 44.5% | Easy | 0.04194952712763244 | https://leetcode.com/problems/min-stack |
| 74 | 1010 | Pairs of Songs With Total Durations Divisible by 60 | 47.4% | Easy | 0.04180336980436055 | https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60 |
| 75 | 545 | Boundary of Binary Tree | 38.9% | Medium | 0.04158603377810283 | https://leetcode.com/problems/boundary-of-binary-tree |
| 76 | 37 | Sudoku Solver | 43.6% | Hard | 0.040527833612118376 | https://leetcode.com/problems/sudoku-solver |
| 77 | 25 | Reverse Nodes in k-Group | 42.1% | Hard | 0.040236757867738004 | https://leetcode.com/problems/reverse-nodes-in-k-group |
| 78 | 686 | Repeated String Match | 32.3% | Easy | 0.03984590854719967 | https://leetcode.com/problems/repeated-string-match |
| 79 | 344 | Reverse String | 68.5% | Easy | 0.0393340697038369 | https://leetcode.com/problems/reverse-string |
| 80 | 560 | Subarray Sum Equals K | 43.9% | Medium | 0.037871360699521406 | https://leetcode.com/problems/subarray-sum-equals-k |
| 81 | 389 | Find the Difference | 55.3% | Easy | 0.03780374555587777 | https://leetcode.com/problems/find-the-difference |
| 82 | 64 | Minimum Path Sum | 54.5% | Medium | 0.03769479893530684 | https://leetcode.com/problems/minimum-path-sum |
| 83 | 45 | Jump Game II | 30.6% | Hard | 0.037651506203688394 | https://leetcode.com/problems/jump-game-ii |
| 84 | 402 | Remove K Digits | 28.4% | Medium | 0.03755134565213245 | https://leetcode.com/problems/remove-k-digits |
| 85 | 95 | Unique Binary Search Trees II | 40.6% | Medium | 0.037535682530377985 | https://leetcode.com/problems/unique-binary-search-trees-ii |
| 86 | 46 | Permutations | 63.5% | Medium | 0.03732163223353564 | https://leetcode.com/problems/permutations |
| 87 | 375 | Guess Number Higher or Lower II | 40.3% | Medium | 0.036634133179780384 | https://leetcode.com/problems/guess-number-higher-or-lower-ii |
| 88 | 51 | N-Queens | 46.6% | Hard | 0.03651521297509749 | https://leetcode.com/problems/n-queens |
| 89 | 279 | Perfect Squares | 47.4% | Medium | 0.03636764417087485 | https://leetcode.com/problems/perfect-squares |
| 90 | 20 | Valid Parentheses | 39.0% | Easy | 0.03618871742239114 | https://leetcode.com/problems/valid-parentheses |
| 91 | 875 | Koko Eating Bananas | 52.1% | Medium | 0.0359751024582779 | https://leetcode.com/problems/koko-eating-bananas |
| 92 | 32 | Longest Valid Parentheses | 28.4% | Hard | 0.03595893038744387 | https://leetcode.com/problems/longest-valid-parentheses |
| 93 | 322 | Coin Change | 35.5% | Medium | 0.03569682997206547 | https://leetcode.com/problems/coin-change |
| 94 | 59 | Spiral Matrix II | 53.9% | Medium | 0.0351873674509732 | https://leetcode.com/problems/spiral-matrix-ii |
| 95 | 977 | Squares of a Sorted Array | 72.1% | Easy | 0.0344861760711693 | https://leetcode.com/problems/squares-of-a-sorted-array |
| 96 | 49 | Group Anagrams | 56.9% | Medium | 0.03372685005765885 | https://leetcode.com/problems/group-anagrams |
| 97 | 121 | Best Time to Buy and Sell Stock | 50.5% | Easy | 0.033453179586686504 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock |
| 98 | 198 | House Robber | 42.0% | Easy | 0.033320991026093004 | https://leetcode.com/problems/house-robber |
| 99 | 78 | Subsets | 62.0% | Medium | 0.03270937553603224 | https://leetcode.com/problems/subsets |
| 100 | 543 | Diameter of Binary Tree | 48.4% | Easy | 0.032708305572393875 | https://leetcode.com/problems/diameter-of-binary-tree |
| 101 | 617 | Merge Two Binary Trees | 74.1% | Easy | 0.03264929866766111 | https://leetcode.com/problems/merge-two-binary-trees |
| 102 | 48 | Rotate Image | 56.7% | Medium | 0.03142936253029228 | https://leetcode.com/problems/rotate-image |
| 103 | 239 | Sliding Window Maximum | 43.0% | Hard | 0.031228142547585713 | https://leetcode.com/problems/sliding-window-maximum |
| 104 | 131 | Palindrome Partitioning | 47.5% | Medium | 0.03101558050692165 | https://leetcode.com/problems/palindrome-partitioning |
| 105 | 55 | Jump Game | 34.6% | Medium | 0.030985252381807864 | https://leetcode.com/problems/jump-game |
| 106 | 460 | LFU Cache | 34.2% | Hard | 0.030962225603966897 | https://leetcode.com/problems/lfu-cache |
| 107 | 44 | Wildcard Matching | 24.7% | Hard | 0.030573033362282363 | https://leetcode.com/problems/wildcard-matching |
| 108 | 13 | Roman to Integer | 55.7% | Easy | 0.030443751414723153 | https://leetcode.com/problems/roman-to-integer |
| 109 | 316 | Remove Duplicate Letters | 35.8% | Hard | 0.030443751414723153 | https://leetcode.com/problems/remove-duplicate-letters |
| 110 | 70 | Climbing Stairs | 47.8% | Easy | 0.03011156054328408 | https://leetcode.com/problems/climbing-stairs |
| 111 | 329 | Longest Increasing Path in a Matrix | 43.4% | Hard | 0.029902560173869868 | https://leetcode.com/problems/longest-increasing-path-in-a-matrix |
| 112 | 85 | Maximal Rectangle | 37.7% | Hard | 0.029754261081792705 | https://leetcode.com/problems/maximal-rectangle |
| 113 | 201 | Bitwise AND of Numbers Range | 39.4% | Medium | 0.02969780239174205 | https://leetcode.com/problems/bitwise-and-of-numbers-range |
| 114 | 1108 | Defanging an IP Address | 87.5% | Easy | 0.02901382119071579 | https://leetcode.com/problems/defanging-an-ip-address |
| 115 | 33 | Search in Rotated Sorted Array | 34.5% | Medium | 0.0287009496170278 | https://leetcode.com/problems/search-in-rotated-sorted-array |
| 116 | 35 | Search Insert Position | 42.6% | Easy | 0.028694726692013624 | https://leetcode.com/problems/search-insert-position |
| 117 | 10 | Regular Expression Matching | 26.8% | Hard | 0.02844130559772196 | https://leetcode.com/problems/regular-expression-matching |
| 118 | 709 | To Lower Case | 79.3% | Easy | 0.02780531308033682 | https://leetcode.com/problems/to-lower-case |
| 119 | 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 |
| 120 | 343 | Integer Break | 50.4% | Medium | 0.027157133968907482 | https://leetcode.com/problems/integer-break |
| 121 | 98 | Validate Binary Search Tree | 27.8% | Medium | 0.026187123416340663 | https://leetcode.com/problems/validate-binary-search-tree |
| 122 | 54 | Spiral Matrix | 34.1% | Medium | 0.02611966966892215 | https://leetcode.com/problems/spiral-matrix |
| 123 | 81 | Search in Rotated Sorted Array II | 33.0% | Medium | 0.026111144003685752 | https://leetcode.com/problems/search-in-rotated-sorted-array-ii |
| 124 | 378 | Kth Smallest Element in a Sorted Matrix | 54.3% | Medium | 0.02599048981653746 | https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix |
| 125 | 143 | Reorder List | 37.1% | Medium | 0.025870945598649286 | https://leetcode.com/problems/reorder-list |
| 126 | 107 | Binary Tree Level Order Traversal II | 53.5% | Easy | 0.02545071360337261 | https://leetcode.com/problems/binary-tree-level-order-traversal-ii |
| 127 | 220 | Contains Duplicate III | 20.9% | Medium | 0.024876904755404577 | https://leetcode.com/problems/contains-duplicate-iii |
| 128 | 877 | Stone Game | 64.8% | Medium | 0.02486144206532915 | https://leetcode.com/problems/stone-game |
| 129 | 138 | Copy List with Random Pointer | 36.4% | Medium | 0.02453734514188008 | https://leetcode.com/problems/copy-list-with-random-pointer |
| 130 | 139 | Word Break | 40.1% | Medium | 0.024095228922591846 | https://leetcode.com/problems/word-break |
| 131 | 91 | Decode Ways | 24.7% | Medium | 0.023662742620848144 | https://leetcode.com/problems/decode-ways |
| 132 | 65 | Valid Number | 15.3% | Hard | 0.022858138076050194 | https://leetcode.com/problems/valid-number |
| 133 | 199 | Binary Tree Right Side View | 54.1% | Medium | 0.022539339846061532 | https://leetcode.com/problems/binary-tree-right-side-view |
| 134 | 72 | Edit Distance | 44.8% | Hard | 0.022400140173127806 | https://leetcode.com/problems/edit-distance |
| 135 | 185 | Department Top Three Salaries | 34.5% | Hard | 0.02218615681552263 | https://leetcode.com/problems/department-top-three-salaries |
| 136 | 152 | Maximum Product Subarray | 31.7% | Medium | 0.022176931045949227 | https://leetcode.com/problems/maximum-product-subarray |
| 137 | 221 | Maximal Square | 37.7% | Medium | 0.022108490754203434 | https://leetcode.com/problems/maximal-square |
| 138 | 112 | Path Sum | 41.2% | Easy | 0.021701651897460775 | https://leetcode.com/problems/path-sum |
| 139 | 56 | Merge Intervals | 39.3% | Medium | 0.02150990613527447 | https://leetcode.com/problems/merge-intervals |
| 140 | 224 | Basic Calculator | 36.8% | Hard | 0.020965128465044926 | https://leetcode.com/problems/basic-calculator |
| 141 | 96 | Unique Binary Search Trees | 52.9% | Medium | 0.02067613283842731 | https://leetcode.com/problems/unique-binary-search-trees |
| 142 | 93 | Restore IP Addresses | 35.6% | Medium | 0.019763489118839635 | https://leetcode.com/problems/restore-ip-addresses |
| 143 | 525 | Contiguous Array | 42.8% | Medium | 0.01975372873623256 | https://leetcode.com/problems/contiguous-array |
| 144 | 399 | Evaluate Division | 51.6% | Medium | 0.019380451549662482 | https://leetcode.com/problems/evaluate-division |
| 145 | 229 | Majority Element II | 35.6% | Medium | 0.019057270410286146 | https://leetcode.com/problems/majority-element-ii |
| 146 | 236 | Lowest Common Ancestor of a Binary Tree | 45.7% | Medium | 0.018724947332324816 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree |
| 147 | 169 | Majority Element | 58.7% | Easy | 0.018694317054881164 | https://leetcode.com/problems/majority-element |
| 148 | 235 | Lowest Common Ancestor of a Binary Search Tree | 49.9% | Easy | 0.018394142155974434 | https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree |
| 149 | 197 | Rising Temperature | 38.4% | Easy | 0.018198864417406563 | https://leetcode.com/problems/rising-temperature |
| 150 | 234 | Palindrome Linked List | 39.3% | Easy | 0.01801241989645556 | https://leetcode.com/problems/palindrome-linked-list |
| 151 | 314 | Binary Tree Vertical Order Traversal | 45.3% | Medium | 0.018010392274465332 | https://leetcode.com/problems/binary-tree-vertical-order-traversal |
| 152 | 136 | Single Number | 65.5% | Easy | 0.017801666336826266 | https://leetcode.com/problems/single-number |
| 153 | 993 | Cousins in Binary Tree | 52.0% | Easy | 0.017414458368636587 | https://leetcode.com/problems/cousins-in-binary-tree |
| 154 | 168 | Excel Sheet Column Title | 31.1% | Easy | 0.01734648872385377 | https://leetcode.com/problems/excel-sheet-column-title |
| 155 | 994 | Rotting Oranges | 49.2% | Medium | 0.017087941897195622 | https://leetcode.com/problems/rotting-oranges |
| 156 | 415 | Add Strings | 47.5% | Easy | 0.016991158247219373 | https://leetcode.com/problems/add-strings |
| 157 | 191 | Number of 1 Bits | 49.8% | Easy | 0.01673523624045844 | https://leetcode.com/problems/number-of-1-bits |
| 158 | 71 | Simplify Path | 32.6% | Medium | 0.016260520871780308 | https://leetcode.com/problems/simplify-path |
| 159 | 110 | Balanced Binary Tree | 43.5% | Easy | 0.015742847432510365 | https://leetcode.com/problems/balanced-binary-tree |
| 160 | 215 | Kth Largest Element in an Array | 55.4% | Medium | 0.015519225147600912 | https://leetcode.com/problems/kth-largest-element-in-an-array |
| 161 | 114 | Flatten Binary Tree to Linked List | 49.3% | Medium | 0.015450951155718977 | https://leetcode.com/problems/flatten-binary-tree-to-linked-list |
| 162 | 1002 | Find Common Characters | 67.6% | Easy | 0.015273301861833809 | https://leetcode.com/problems/find-common-characters |
| 163 | 561 | Array Partition I | 72.0% | Easy | 0.015186320707985562 | https://leetcode.com/problems/array-partition-i |
| 164 | 29 | Divide Two Integers | 16.4% | Medium | 0.01517479801923515 | https://leetcode.com/problems/divide-two-integers |
| 165 | 217 | Contains Duplicate | 56.0% | Easy | 0.015106027431013205 | https://leetcode.com/problems/contains-duplicate |
| 166 | 142 | Linked List Cycle II | 37.3% | Medium | 0.014710955064667802 | https://leetcode.com/problems/linked-list-cycle-ii |
| 167 | 315 | Count of Smaller Numbers After Self | 41.5% | Hard | 0.014352596574956585 | https://leetcode.com/problems/count-of-smaller-numbers-after-self |
| 168 | 404 | Sum of Left Leaves | 50.9% | Easy | 0.013981353230340547 | https://leetcode.com/problems/sum-of-left-leaves |
| 169 | 24 | Swap Nodes in Pairs | 50.4% | Medium | 0.013945066390122038 | https://leetcode.com/problems/swap-nodes-in-pairs |
| 170 | 703 | Kth Largest Element in a Stream | 49.7% | Easy | 0.013898764390814973 | https://leetcode.com/problems/kth-largest-element-in-a-stream |
| 171 | 1192 | Critical Connections in a Network | 48.6% | Hard | 0.01352742981715631 | https://leetcode.com/problems/critical-connections-in-a-network |
| 172 | 122 | Best Time to Buy and Sell Stock II | 57.0% | Easy | 0.013351333174864208 | https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii |
| 173 | 57 | Insert Interval | 33.5% | Hard | 0.013119243592498872 | https://leetcode.com/problems/insert-interval |
| 174 | 665 | Non-decreasing Array | 19.5% | Easy | 0.013016779950191773 | https://leetcode.com/problems/non-decreasing-array |
| 175 | 695 | Max Area of Island | 62.7% | Medium | 0.012686500631003836 | https://leetcode.com/problems/max-area-of-island |
| 176 | 181 | Employees Earning More Than Their Managers | 56.9% | Easy | 0.012618463959211509 | https://leetcode.com/problems/employees-earning-more-than-their-managers |
| 177 | 77 | Combinations | 54.7% | Medium | 0.01255115315451512 | https://leetcode.com/problems/combinations |
| 178 | 137 | Single Number II | 52.4% | Medium | 0.012527567532662891 | https://leetcode.com/problems/single-number-ii |
| 179 | 287 | Find the Duplicate Number | 55.5% | Medium | 0.012335682739188652 | https://leetcode.com/problems/find-the-duplicate-number |
| 180 | 19 | Remove Nth Node From End of List | 35.2% | Medium | 0.012249425864399291 | https://leetcode.com/problems/remove-nth-node-from-end-of-list |
| 181 | 547 | Friend Circles | 58.6% | Medium | 0.012228828639434596 | https://leetcode.com/problems/friend-circles |
| 182 | 278 | First Bad Version | 35.7% | Easy | 0.012090421323816148 | https://leetcode.com/problems/first-bad-version |
| 183 | 205 | Isomorphic Strings | 39.8% | Easy | 0.011544139746865315 | https://leetcode.com/problems/isomorphic-strings |
| 184 | 1051 | Height Checker | 71.1% | Easy | 0.011468015591641189 | https://leetcode.com/problems/height-checker |
| 185 | 148 | Sort List | 42.3% | Medium | 0.011204599012863078 | https://leetcode.com/problems/sort-list |
| 186 | 268 | Missing Number | 51.7% | Easy | 0.010947682628191997 | https://leetcode.com/problems/missing-number |
| 187 | 257 | Binary Tree Paths | 51.5% | Easy | 0.010457611643958139 | https://leetcode.com/problems/binary-tree-paths |
| 188 | 647 | Palindromic Substrings | 60.6% | Medium | 0.010400509768078022 | https://leetcode.com/problems/palindromic-substrings |
| 189 | 62 | Unique Paths | 54.1% | Medium | 0.010367562048856941 | https://leetcode.com/problems/unique-paths |
| 190 | 61 | Rotate List | 30.0% | Medium | 0.009925639799969955 | https://leetcode.com/problems/rotate-list |
| 191 | 380 | Insert Delete GetRandom O(1) | 47.5% | Medium | 0.009820849864094454 | https://leetcode.com/problems/insert-delete-getrandom-o1 |
| 192 | 113 | Path Sum II | 46.7% | Medium | 0.009784813879998279 | https://leetcode.com/problems/path-sum-ii |
| 193 | 47 | Permutations II | 46.4% | Medium | 0.009673594178378379 | https://leetcode.com/problems/permutations-ii |
| 194 | 40 | Combination Sum II | 48.2% | Medium | 0.009578617297069781 | https://leetcode.com/problems/combination-sum-ii |
| 195 | 387 | First Unique Character in a String | 53.4% | Easy | 0.009392680199054166 | https://leetcode.com/problems/first-unique-character-in-a-string |
| 196 | 128 | Longest Consecutive Sequence | 45.1% | Hard | 0.009051883485315484 | https://leetcode.com/problems/longest-consecutive-sequence |
| 197 | 295 | Find Median from Data Stream | 44.3% | Hard | 0.00899893586856953 | https://leetcode.com/problems/find-median-from-data-stream |
| 198 | 125 | Valid Palindrome | 36.7% | Easy | 0.008933948641551634 | https://leetcode.com/problems/valid-palindrome |
| 199 | 700 | Search in a Binary Search Tree | 73.1% | Easy | 0.008512500860171227 | https://leetcode.com/problems/search-in-a-binary-search-tree |
| 200 | 84 | Largest Rectangle in Histogram | 35.2% | Hard | 0.00833685528906183 | https://leetcode.com/problems/largest-rectangle-in-histogram |
| 201 | 102 | Binary Tree Level Order Traversal | 54.6% | Medium | 0.008169238497129479 | https://leetcode.com/problems/binary-tree-level-order-traversal |
| 202 | 141 | Linked List Cycle | 41.1% | Easy | 0.007843861028908454 | https://leetcode.com/problems/linked-list-cycle |
| 203 | 38 | Count and Say | 44.6% | Easy | 0.007829360800435779 | https://leetcode.com/problems/count-and-say |
| 204 | 101 | Symmetric Tree | 46.8% | Easy | 0.007646596306528098 | https://leetcode.com/problems/symmetric-tree |
| 205 | 876 | Middle of the Linked List | 68.4% | Easy | 0.007624893975696915 | https://leetcode.com/problems/middle-of-the-linked-list |
| 206 | 240 | Search a 2D Matrix II | 43.2% | Medium | 0.0075829747244553335 | https://leetcode.com/problems/search-a-2d-matrix-ii |
| 207 | 692 | Top K Frequent Words | 51.8% | Medium | 0.007516006820935329 | https://leetcode.com/problems/top-k-frequent-words |
| 208 | 145 | Binary Tree Postorder Traversal | 55.0% | Hard | 0.00751459482064135 | https://leetcode.com/problems/binary-tree-postorder-traversal |
| 209 | 36 | Valid Sudoku | 48.7% | Medium | 0.007258242715805398 | https://leetcode.com/problems/valid-sudoku |
| 210 | 412 | Fizz Buzz | 62.3% | Easy | 0.007165921026143679 | https://leetcode.com/problems/fizz-buzz |
| 211 | 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 |
| 212 | 73 | Set Matrix Zeroes | 43.1% | Medium | 0.0070151111959223245 | https://leetcode.com/problems/set-matrix-zeroes |
| 213 | 9 | Palindrome Number | 48.4% | Easy | 0.006822343017166543 | https://leetcode.com/problems/palindrome-number |
| 214 | 118 | Pascal's Triangle | 52.5% | Easy | 0.006749941254175012 | https://leetcode.com/problems/pascals-triangle |
| 215 | 67 | Add Binary | 45.2% | Easy | 0.006631598888145552 | https://leetcode.com/problems/add-binary |
| 216 | 83 | Remove Duplicates from Sorted List | 45.4% | Easy | 0.006353261522609498 | https://leetcode.com/problems/remove-duplicates-from-sorted-list |
| 217 | 104 | Maximum Depth of Binary Tree | 66.0% | Easy | 0.006261761223976207 | https://leetcode.com/problems/maximum-depth-of-binary-tree |
| 218 | 105 | Construct Binary Tree from Preorder and Inorder Traversal | 48.8% | Medium | 0.005628268691614718 | https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal |
| 219 | 50 | Pow(x;n) | 30.3% | Medium | 0.0055950070772402055 | https://leetcode.com/problems/powx-n |
| 220 | 124 | Binary Tree Maximum Path Sum | 34.3% | Hard | 0.005531752454833179 | https://leetcode.com/problems/binary-tree-maximum-path-sum |
| 221 | 237 | Delete Node in a Linked List | 63.8% | Easy | 0.005144705881237697 | https://leetcode.com/problems/delete-node-in-a-linked-list |
| 222 | 1470 | Shuffle the Array | 88.9% | Easy | 0.004527967890154029 | https://leetcode.com/problems/shuffle-the-array |
| 223 | 26 | Remove Duplicates from Sorted Array | 45.1% | Easy | 0.004385117141850828 | https://leetcode.com/problems/remove-duplicates-from-sorted-array |
| 224 | 28 | Implement strStr() | 34.5% | Easy | 0.003943222775040032 | https://leetcode.com/problems/implement-strstr |
| 225 | 66 | Plus One | 43.0% | Easy | 0.00326211347832938 | https://leetcode.com/problems/plus-one |
| 226 | 283 | Move Zeroes | 57.8% | Easy | 0.0028853803470673955 | https://leetcode.com/problems/move-zeroes |
| 227 | 154 | Find Minimum in Rotated Sorted Array II | 41.6% | Hard | 0.0021273209107578427 | https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii |
| 228 | 79 | Word Search | 35.6% | Medium | 0.0016647248725526849 | https://leetcode.com/problems/word-search |
| 229 | 203 | Remove Linked List Elements | 38.6% | Easy | 0.0016237064659255223 | https://leetcode.com/problems/remove-linked-list-elements |