Files
LeetCode-Questions-CompanyWise/microsoft_2year.csv
Krishna Kumar Dey fb5f78b55e Chore: Add headers to all the files (#54)
## 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)

```
2023-04-01 11:07:49 +05:30

53 KiB

1IDTitleAcceptanceDifficultyFrequencyLeetcode Question Link
2146LRU Cache33.2%Medium1.9068942851168293https://leetcode.com/problems/lru-cache
3138Copy List with Random Pointer36.4%Medium1.839296369281829https://leetcode.com/problems/copy-list-with-random-pointer
4348Design Tic-Tac-Toe54.3%Medium1.7622511751629417https://leetcode.com/problems/design-tic-tac-toe
51239Maximum Length of a Concatenated String with Unique Characters47.8%Medium1.6852059810440545https://leetcode.com/problems/maximum-length-of-a-concatenated-string-with-unique-characters
6273Integer to English Words27.1%Hard1.6081607869251673https://leetcode.com/problems/integer-to-english-words
71Two Sum45.6%Easy1.5833715306321339https://leetcode.com/problems/two-sum
8794Valid Tic-Tac-Toe State32.6%Medium1.549767336843805https://leetcode.com/problems/valid-tic-tac-toe-state
954Spiral Matrix34.1%Medium1.5277031487259203https://leetcode.com/problems/spiral-matrix
10165Compare Version Numbers27.4%Medium1.450657954607033https://leetcode.com/problems/compare-version-numbers
11428Serialize and Deserialize N-ary Tree59.4%Hard1.39256021863239https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
12445Add Two Numbers II54.5%Medium1.3627396299910237https://leetcode.com/problems/add-two-numbers-ii
1342Trapping Rain Water48.9%Hard1.2856944358721365https://leetcode.com/problems/trapping-rain-water
14200Number of Islands46.8%Medium1.282195127879335https://leetcode.com/problems/number-of-islands
15253Meeting Rooms II45.7%Medium1.2072729703046439https://leetcode.com/problems/meeting-rooms-ii
165Longest Palindromic Substring29.5%Medium1.2049820501287227https://leetcode.com/problems/longest-palindromic-substring
17186Reverse Words in a String II43.3%Medium1.161526114078679https://leetcode.com/problems/reverse-words-in-a-string-ii
18297Serialize and Deserialize Binary Tree47.5%Hard1.155330001457385https://leetcode.com/problems/serialize-and-deserialize-binary-tree
19545Boundary of Binary Tree38.9%Medium1.1251501588677701https://leetcode.com/problems/boundary-of-binary-tree
20443String Compression41.3%Easy1.048104964748883https://leetcode.com/problems/string-compression
2123Merge k Sorted Lists40.2%Hard1.0261554494754497https://leetcode.com/problems/merge-k-sorted-lists
2225Reverse Nodes in k-Group42.1%Hard1.0060099268822469https://leetcode.com/problems/reverse-nodes-in-k-group
23402Remove K Digits28.4%Medium0.993503693908454https://leetcode.com/problems/remove-k-digits
2488Merge Sorted Array39.4%Easy0.9801695539990253https://leetcode.com/problems/merge-sorted-array
2598Validate Binary Search Tree27.8%Medium0.9662594465630313https://leetcode.com/problems/validate-binary-search-tree
26151Reverse Words in a String21.9%Medium0.946093007208271https://leetcode.com/problems/reverse-words-in-a-string
27557Reverse Words in a String III69.8%Easy0.9259911966439747https://leetcode.com/problems/reverse-words-in-a-string-iii
28240Search a 2D Matrix II43.2%Medium0.9130504736307608https://leetcode.com/problems/search-a-2d-matrix-ii
292Add Two Numbers33.9%Medium0.9045266903158492https://leetcode.com/problems/add-two-numbers
30218The Skyline Problem34.6%Hard0.8967461358011848https://leetcode.com/problems/the-skyline-problem
31285Inorder Successor in BST40.4%Medium0.8942541034317931https://leetcode.com/problems/inorder-successor-in-bst
32103Binary Tree Zigzag Level Order Traversal48.3%Medium0.8911932153659692https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
3322Generate Parentheses62.7%Medium0.8821480129478173https://leetcode.com/problems/generate-parentheses
3453Maximum Subarray46.5%Easy0.8799062141955307https://leetcode.com/problems/maximum-subarray
358String to Integer (atoi)15.4%Medium0.8636115676315972https://leetcode.com/problems/string-to-integer-atoi
3693Restore IP Addresses35.6%Medium0.8230542487772108https://leetcode.com/problems/restore-ip-addresses
37722Remove Comments34.6%Medium0.8109302162163288https://leetcode.com/problems/remove-comments
38206Reverse Linked List62.5%Easy0.8061359210393346https://leetcode.com/problems/reverse-linked-list
39236Lowest Common Ancestor of a Binary Tree45.7%Medium0.7928508522150108https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
40212Word Search II34.9%Hard0.7871523471289301https://leetcode.com/problems/word-search-ii
4121Merge Two Sorted Lists53.5%Easy0.7621927307594413https://leetcode.com/problems/merge-two-sorted-lists
4267924 Game46.4%Hard0.7472144018302211https://leetcode.com/problems/24-game
4333Search in Rotated Sorted Array34.5%Medium0.7453822830055025https://leetcode.com/problems/search-in-rotated-sorted-array
4448Rotate Image56.7%Medium0.7295148247308202https://leetcode.com/problems/rotate-image
45450Delete Node in a BST43.1%Medium0.7190027298101302https://leetcode.com/problems/delete-node-in-a-bst
4675Sort Colors47.3%Medium0.7189622372679672https://leetcode.com/problems/sort-colors
4710Regular Expression Matching26.8%Hard0.7122566110595128https://leetcode.com/problems/regular-expression-matching
48224Basic Calculator36.8%Hard0.712035465080151https://leetcode.com/problems/basic-calculator
49232Implement Queue using Stacks49.6%Easy0.703271001559588https://leetcode.com/problems/implement-queue-using-stacks
5099Recover Binary Search Tree39.7%Hard0.686991511115002https://leetcode.com/problems/recover-binary-search-tree
5124Swap Nodes in Pairs50.4%Medium0.6806651721326015https://leetcode.com/problems/swap-nodes-in-pairs
52116Populating Next Right Pointers in Each Node45.2%Medium0.679990315148951https://leetcode.com/problems/populating-next-right-pointers-in-each-node
531246Palindrome Removal46.0%Hard0.6794349186959634https://leetcode.com/problems/palindrome-removal
54419Battleships in a Board70.0%Medium0.6477023182379538https://leetcode.com/problems/battleships-in-a-board
55295Find Median from Data Stream44.3%Hard0.6439331977785325https://leetcode.com/problems/find-median-from-data-stream
56636Exclusive Time of Functions51.9%Medium0.6405393293662573https://leetcode.com/problems/exclusive-time-of-functions
57121Best Time to Buy and Sell Stock50.5%Easy0.6384433764330154https://leetcode.com/problems/best-time-to-buy-and-sell-stock
5844Wildcard Matching24.7%Hard0.6328997728601021https://leetcode.com/problems/wildcard-matching
59134Gas Station38.5%Medium0.6268138366620403https://leetcode.com/problems/gas-station
60535Encode and Decode TinyURL79.9%Medium0.6249578446726771https://leetcode.com/problems/encode-and-decode-tinyurl
61706Design HashMap61.3%Easy0.6240595717322002https://leetcode.com/problems/design-hashmap
624Median of Two Sorted Arrays29.6%Hard0.5997207275769595https://leetcode.com/problems/median-of-two-sorted-arrays
63105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium0.5948482012213536https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
6417Letter Combinations of a Phone Number46.8%Medium0.5900144916124695https://leetcode.com/problems/letter-combinations-of-a-phone-number
65772Basic Calculator III41.3%Hard0.5881497072005337https://leetcode.com/problems/basic-calculator-iii
66564Find the Closest Palindrome19.7%Hard0.581921545449721https://leetcode.com/problems/find-the-closest-palindrome
6720Valid Parentheses39.0%Easy0.581252372040232https://leetcode.com/problems/valid-parentheses
68155Min Stack44.5%Easy0.5560563077098069https://leetcode.com/problems/min-stack
6936Valid Sudoku48.7%Medium0.5472335928516195https://leetcode.com/problems/valid-sudoku
701156Swap For Longest Repeated Character Substring49.0%Medium0.538996500732687https://leetcode.com/problems/swap-for-longest-repeated-character-substring
71468Validate IP Address24.1%Medium0.5368011101692514https://leetcode.com/problems/validate-ip-address
72340Longest Substring with At Most K Distinct Characters44.1%Hard0.5227814976619829https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
7337Sudoku Solver43.6%Hard0.5078801135362339https://leetcode.com/problems/sudoku-solver
74470Implement Rand10() Using Rand7()46.3%Medium0.5035263212843791https://leetcode.com/problems/implement-rand10-using-rand7
7549Group Anagrams56.9%Medium0.49720300327737044https://leetcode.com/problems/group-anagrams
763Longest Substring Without Repeating Characters30.4%Medium0.48411466774638867https://leetcode.com/problems/longest-substring-without-repeating-characters
77102Binary Tree Level Order Traversal54.6%Medium0.4800243438074503https://leetcode.com/problems/binary-tree-level-order-traversal
78836Rectangle Overlap48.6%Easy0.47817067841927885https://leetcode.com/problems/rectangle-overlap
79277Find the Celebrity41.8%Medium0.47648222098694015https://leetcode.com/problems/find-the-celebrity
8046Permutations63.5%Medium0.4752581007118412https://leetcode.com/problems/permutations
81510Inorder Successor in BST II58.0%Medium0.47332739722482975https://leetcode.com/problems/inorder-successor-in-bst-ii
8274Search a 2D Matrix36.5%Medium0.4704141503200286https://leetcode.com/problems/search-a-2d-matrix
83127Word Ladder29.6%Medium0.46981620538612967https://leetcode.com/problems/word-ladder
8456Merge Intervals39.3%Medium0.46243023294178986https://leetcode.com/problems/merge-intervals
85449Serialize and Deserialize BST52.0%Medium0.44971110343394827https://leetcode.com/problems/serialize-and-deserialize-bst
8685Maximal Rectangle37.7%Hard0.4492357711634929https://leetcode.com/problems/maximal-rectangle
87529Minesweeper59.1%Medium0.4410244101446512https://leetcode.com/problems/minesweeper
88642Design Search Autocomplete System44.7%Hard0.43349242036282026https://leetcode.com/problems/design-search-autocomplete-system
89168Excel Sheet Column Title31.1%Easy0.4248158924206701https://leetcode.com/problems/excel-sheet-column-title
9041First Missing Positive32.0%Hard0.4193575471092812https://leetcode.com/problems/first-missing-positive
91238Product of Array Except Self60.1%Medium0.4192516867747499https://leetcode.com/problems/product-of-array-except-self
92362Design Hit Counter63.7%Medium0.41908233979999515https://leetcode.com/problems/design-hit-counter
93460LFU Cache34.2%Hard0.40755934971127916https://leetcode.com/problems/lfu-cache
94225Implement Stack using Queues45.1%Easy0.4064316252700455https://leetcode.com/problems/implement-stack-using-queues
95124Binary Tree Maximum Path Sum34.3%Hard0.40588105265488916https://leetcode.com/problems/binary-tree-maximum-path-sum
9613Roman to Integer55.7%Easy0.40185220095239377https://leetcode.com/problems/roman-to-integer
97143Reorder List37.1%Medium0.40020962155920403https://leetcode.com/problems/reorder-list
98160Intersection of Two Linked Lists40.6%Easy0.39967513196999754https://leetcode.com/problems/intersection-of-two-linked-lists
99322Coin Change35.5%Medium0.39783122540141286https://leetcode.com/problems/coin-change
100767Reorganize String48.7%Medium0.3933437475758196https://leetcode.com/problems/reorganize-string
101173Binary Search Tree Iterator56.6%Medium0.3917309866483655https://leetcode.com/problems/binary-search-tree-iterator
102688Knight Probability in Chessboard48.9%Medium0.38977851194046487https://leetcode.com/problems/knight-probability-in-chessboard
103622Design Circular Queue43.8%Medium0.3784130987696834https://leetcode.com/problems/design-circular-queue
10473Set Matrix Zeroes43.1%Medium0.37193974948462943https://leetcode.com/problems/set-matrix-zeroes
10543Multiply Strings33.9%Medium0.3716744273234442https://leetcode.com/problems/multiply-strings
106239Sliding Window Maximum43.0%Hard0.3688526742838154https://leetcode.com/problems/sliding-window-maximum
107153Sum26.8%Medium0.35870919705248033https://leetcode.com/problems/3sum
108179Largest Number28.8%Medium0.35230239652612316https://leetcode.com/problems/largest-number
109417Pacific Atlantic Water Flow41.1%Medium0.3513978868378886https://leetcode.com/problems/pacific-atlantic-water-flow
1101185Day of the Week64.0%Easy0.34898886906784754https://leetcode.com/problems/day-of-the-week
111380Insert Delete GetRandom O(1)47.5%Medium0.348524374235988https://leetcode.com/problems/insert-delete-getrandom-o1
112935Knight Dialer45.2%Medium0.3429447511268304https://leetcode.com/problems/knight-dialer
113805Split Array With Same Average26.4%Hard0.3416302106614813https://leetcode.com/problems/split-array-with-same-average
1141044Longest Duplicate Substring31.9%Hard0.3378493311698002https://leetcode.com/problems/longest-duplicate-substring
1151236Web Crawler64.3%Medium0.33647223662121295https://leetcode.com/problems/web-crawler
116287Find the Duplicate Number55.5%Medium0.33544722224040363https://leetcode.com/problems/find-the-duplicate-number
117431Encode N-ary Tree to Binary Tree70.8%Hard0.3308542443169896https://leetcode.com/problems/encode-n-ary-tree-to-binary-tree
118269Alien Dictionary33.3%Hard0.32755550704550385https://leetcode.com/problems/alien-dictionary
11931Next Permutation32.6%Medium0.32533895514548333https://leetcode.com/problems/next-permutation
120227Basic Calculator II36.9%Medium0.320210254787433https://leetcode.com/problems/basic-calculator-ii
12192Reverse Linked List II38.8%Medium0.3201675275962693https://leetcode.com/problems/reverse-linked-list-ii
12279Word Search35.6%Medium0.31836284819083https://leetcode.com/problems/word-search
123234Palindrome Linked List39.3%Easy0.3133910057995738https://leetcode.com/problems/palindrome-linked-list
124346Moving Average from Data Stream70.9%Easy0.3081922191359908https://leetcode.com/problems/moving-average-from-data-stream
12576Minimum Window Substring34.6%Hard0.3013019791670516https://leetcode.com/problems/minimum-window-substring
126235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.29906505953500556https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
127204Count Primes31.5%Easy0.29844719891360566https://leetcode.com/problems/count-primes
128117Populating Next Right Pointers in Each Node II39.1%Medium0.297513312140522https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
129828Count Unique Characters of All Substrings of a Given String45.2%Hard0.2972515234679316https://leetcode.com/problems/count-unique-characters-of-all-substrings-of-a-given-string
130133Clone Graph34.8%Medium0.29652763874414756https://leetcode.com/problems/clone-graph
13168Text Justification27.7%Hard0.29518712556880805https://leetcode.com/problems/text-justification
132148Sort List42.3%Medium0.29330006475600423https://leetcode.com/problems/sort-list
13394Binary Tree Inorder Traversal63.3%Medium0.28973843425663137https://leetcode.com/problems/binary-tree-inorder-traversal
134128Longest Consecutive Sequence45.1%Hard0.28318230693481783https://leetcode.com/problems/longest-consecutive-sequence
13559Spiral Matrix II53.9%Medium0.2793907308110021https://leetcode.com/problems/spiral-matrix-ii
136141Linked List Cycle41.1%Easy0.27449284203401514https://leetcode.com/problems/linked-list-cycle
137528Random Pick with Weight43.9%Medium0.26434500315529863https://leetcode.com/problems/random-pick-with-weight
138426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium0.2625527836498761https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
139556Next Greater Element III31.7%Medium0.2619035411237044https://leetcode.com/problems/next-greater-element-iii
140110Balanced Binary Tree43.5%Easy0.260789845727003https://leetcode.com/problems/balanced-binary-tree
141126Word Ladder II22.1%Hard0.25503976484865665https://leetcode.com/problems/word-ladder-ii
142139Word Break40.1%Medium0.24836185186023652https://leetcode.com/problems/word-break
143171Excel Sheet Column Number55.9%Easy0.24799403931375497https://leetcode.com/problems/excel-sheet-column-number
14439Combination Sum56.1%Medium0.2475495077466774https://leetcode.com/problems/combination-sum
145490The Maze51.4%Medium0.24202227192369596https://leetcode.com/problems/the-maze
146863All Nodes Distance K in Binary Tree55.4%Medium0.24186418612910326https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
147716Max Stack42.6%Easy0.24108416003009112https://leetcode.com/problems/max-stack
148692Top K Frequent Words51.8%Medium0.24027250894503516https://leetcode.com/problems/top-k-frequent-words
149266Palindrome Permutation61.9%Easy0.235382573048932https://leetcode.com/problems/palindrome-permutation
150344Reverse String68.5%Easy0.23528503471044915https://leetcode.com/problems/reverse-string
151917Reverse Only Letters58.0%Easy0.23240287672700652https://leetcode.com/problems/reverse-only-letters
152768Max Chunks To Make Sorted II48.7%Hard0.22767870647960103https://leetcode.com/problems/max-chunks-to-make-sorted-ii
15369Sqrt(x)33.9%Easy0.22365492948950624https://leetcode.com/problems/sqrtx
15461Rotate List30.0%Medium0.2226446737782956https://leetcode.com/problems/rotate-list
155394Decode String50.0%Medium0.22158432076565618https://leetcode.com/problems/decode-string
156317Shortest Distance from All Buildings41.4%Hard0.21654542918153205https://leetcode.com/problems/shortest-distance-from-all-buildings
157560Subarray Sum Equals K43.9%Medium0.21610695147886494https://leetcode.com/problems/subarray-sum-equals-k
158457Circular Array Loop29.4%Medium0.21472498084861397https://leetcode.com/problems/circular-array-loop
159229Majority Element II35.6%Medium0.21162970925187066https://leetcode.com/problems/majority-element-ii
160208Implement Trie (Prefix Tree)49.4%Medium0.20593713931590088https://leetcode.com/problems/implement-trie-prefix-tree
161149Max Points on a Line16.9%Hard0.20409535634351528https://leetcode.com/problems/max-points-on-a-line
162568Maximum Vacation Days40.8%Hard0.19966567025192705https://leetcode.com/problems/maximum-vacation-days
1631375Bulb Switcher III62.6%Medium0.19622624370172712https://leetcode.com/problems/bulb-switcher-iii
164153Find Minimum in Rotated Sorted Array45.1%Medium0.191995528322351https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
165286Walls and Gates54.5%Medium0.19197498849459727https://leetcode.com/problems/walls-and-gates
166114Flatten Binary Tree to Linked List49.3%Medium0.19007687356143277https://leetcode.com/problems/flatten-binary-tree-to-linked-list
167358Rearrange String k Distance Apart34.9%Hard0.19004360288786493https://leetcode.com/problems/rearrange-string-k-distance-apart
168695Max Area of Island62.7%Medium0.18587942901211874https://leetcode.com/problems/max-area-of-island
16972Edit Distance44.8%Hard0.18554648786569794https://leetcode.com/problems/edit-distance
17051N-Queens46.6%Hard0.18438554101480611https://leetcode.com/problems/n-queens
17171Simplify Path32.6%Medium0.18300438372386543https://leetcode.com/problems/simplify-path
172759Employee Free Time66.3%Hard0.1816986978513639https://leetcode.com/problems/employee-free-time
173189Rotate Array34.7%Easy0.18053653367040554https://leetcode.com/problems/rotate-array
174125Valid Palindrome36.7%Easy0.1785086666194453https://leetcode.com/problems/valid-palindrome
17545Jump Game II30.6%Hard0.1775138552258515https://leetcode.com/problems/jump-game-ii
17628Implement strStr()34.5%Easy0.17697342084154793https://leetcode.com/problems/implement-strstr
177773Sliding Puzzle59.3%Hard0.17627924233799203https://leetcode.com/problems/sliding-puzzle
178328Odd Even Linked List55.7%Medium0.17548836529558792https://leetcode.com/problems/odd-even-linked-list
179543Diameter of Binary Tree48.4%Easy0.1752254632195515https://leetcode.com/problems/diameter-of-binary-tree
180415Add Strings47.5%Easy0.17429245611868044https://leetcode.com/problems/add-strings
181135Candy31.6%Hard0.17296269248039503https://leetcode.com/problems/candy
182442Find All Duplicates in an Array67.8%Medium0.17219015650505717https://leetcode.com/problems/find-all-duplicates-in-an-array
183378Kth Smallest Element in a Sorted Matrix54.3%Medium0.17163465671022385https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
18432Longest Valid Parentheses28.4%Hard0.17004204716389293https://leetcode.com/problems/longest-valid-parentheses
185516Longest Palindromic Subsequence53.2%Medium0.16913482985800482https://leetcode.com/problems/longest-palindromic-subsequence
186123Best Time to Buy and Sell Stock III37.5%Hard0.16653125439681243https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
18791Decode Ways24.7%Medium0.1664322442258041https://leetcode.com/problems/decode-ways
188242Valid Anagram56.9%Easy0.1620140669319784https://leetcode.com/problems/valid-anagram
189540Single Element in a Sorted Array57.9%Medium0.16091725953613234https://leetcode.com/problems/single-element-in-a-sorted-array
190150Evaluate Reverse Polish Notation36.3%Medium0.16073798512678014https://leetcode.com/problems/evaluate-reverse-polish-notation
191669Trim a Binary Search Tree63.0%Easy0.1603426500751794https://leetcode.com/problems/trim-a-binary-search-tree
19219Remove Nth Node From End of List35.2%Medium0.15983469543773265https://leetcode.com/problems/remove-nth-node-from-end-of-list
193727Minimum Window Subsequence41.8%Hard0.15970111035790735https://leetcode.com/problems/minimum-window-subsequence
194199Binary Tree Right Side View54.1%Medium0.15904374287529144https://leetcode.com/problems/binary-tree-right-side-view
195572Subtree of Another Tree44.1%Easy0.1554260466680471https://leetcode.com/problems/subtree-of-another-tree
196158Read N Characters Given Read4 II - Call multiple times33.8%Hard0.15348688956060175https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
197215Kth Largest Element in an Array55.4%Medium0.15289308167366858https://leetcode.com/problems/kth-largest-element-in-an-array
198314Binary Tree Vertical Order Traversal45.3%Medium0.15148600467306356https://leetcode.com/problems/binary-tree-vertical-order-traversal
19930Substring with Concatenation of All Words25.4%Hard0.1461170580676051https://leetcode.com/problems/substring-with-concatenation-of-all-words
200129Sum Root to Leaf Numbers49.1%Medium0.14587477052339856https://leetcode.com/problems/sum-root-to-leaf-numbers
201909Snakes and Ladders38.4%Medium0.14465605390747982https://leetcode.com/problems/snakes-and-ladders
20277Combinations54.7%Medium0.14385837161074141https://leetcode.com/problems/combinations
203207Course Schedule43.1%Medium0.1402270159030123https://leetcode.com/problems/course-schedule
204729My Calendar I51.8%Medium0.13838970177559895https://leetcode.com/problems/my-calendar-i
205702Search in a Sorted Array of Unknown Size66.9%Medium0.13783247452391326https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
2061136Parallel Courses61.1%Hard0.13720112151348504https://leetcode.com/problems/parallel-courses
207412Fizz Buzz62.3%Easy0.135955636236029https://leetcode.com/problems/fizz-buzz
20826Remove Duplicates from Sorted Array45.1%Easy0.13201038687949407https://leetcode.com/problems/remove-duplicates-from-sorted-array
209333Largest BST Subtree35.8%Medium0.13138400282910845https://leetcode.com/problems/largest-bst-subtree
21063Unique Paths II34.6%Medium0.13103977657747026https://leetcode.com/problems/unique-paths-ii
211214Shortest Palindrome29.8%Hard0.13026519483790147https://leetcode.com/problems/shortest-palindrome
212384Shuffle an Array52.8%Medium0.12953764257899986https://leetcode.com/problems/shuffle-an-array
213958Check Completeness of a Binary Tree52.1%Medium0.12884496089089562https://leetcode.com/problems/check-completeness-of-a-binary-tree
214612Shortest Distance in a Plane59.5%Medium0.1271551754852466https://leetcode.com/problems/shortest-distance-in-a-plane
215567Permutation in String44.4%Medium0.1271102185315222https://leetcode.com/problems/permutation-in-string
216694Number of Distinct Islands56.0%Medium0.12516314295400602https://leetcode.com/problems/number-of-distinct-islands
217300Longest Increasing Subsequence42.6%Medium0.12395147349827965https://leetcode.com/problems/longest-increasing-subsequence
218683K Empty Slots35.6%Hard0.12247703235966204https://leetcode.com/problems/k-empty-slots
219315Count of Smaller Numbers After Self41.5%Hard0.12231037767091538https://leetcode.com/problems/count-of-smaller-numbers-after-self
22038Count and Say44.6%Easy0.11845964781974515https://leetcode.com/problems/count-and-say
221724Find Pivot Index44.0%Easy0.11824782767032843https://leetcode.com/problems/find-pivot-index
222332Reconstruct Itinerary36.7%Medium0.11747520126885172https://leetcode.com/problems/reconstruct-itinerary
22364Minimum Path Sum54.5%Medium0.1173048772402237https://leetcode.com/problems/minimum-path-sum
224268Missing Number51.7%Easy0.11538834636572094https://leetcode.com/problems/missing-number
225281Zigzag Iterator58.4%Medium0.11506932978478719https://leetcode.com/problems/zigzag-iterator
226308Range Sum Query 2D - Mutable35.6%Hard0.11441035117774422https://leetcode.com/problems/range-sum-query-2d-mutable
227708Insert into a Sorted Circular Linked List31.6%Medium0.11219725014953141https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
228655Print Binary Tree55.0%Medium0.11153609770197609https://leetcode.com/problems/print-binary-tree
22940Combination Sum II48.2%Medium0.11145356111123644https://leetcode.com/problems/combination-sum-ii
2301188Design Bounded Blocking Queue70.5%Medium0.11030454201470608https://leetcode.com/problems/design-bounded-blocking-queue
231681Next Closest Time45.0%Medium0.11013564249600598https://leetcode.com/problems/next-closest-time
232140Word Break II32.6%Hard0.10843250681427455https://leetcode.com/problems/word-break-ii
233518Coin Change 250.2%Medium0.10746985577594965https://leetcode.com/problems/coin-change-2
234969Pancake Sorting67.5%Medium0.10724553035359762https://leetcode.com/problems/pancake-sorting
235108Convert Sorted Array to Binary Search Tree57.9%Easy0.10686314554236129https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
236407Trapping Rain Water II42.4%Hard0.10486899438963619https://leetcode.com/problems/trapping-rain-water-ii
237159Longest Substring with At Most Two Distinct Characters49.4%Medium0.10453372768183221https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
238289Game of Life54.5%Medium0.10365526175211173https://leetcode.com/problems/game-of-life
239267Palindrome Permutation II36.4%Medium0.10345133738802471https://leetcode.com/problems/palindrome-permutation-ii
240523Continuous Subarray Sum24.6%Medium0.1016388887348317https://leetcode.com/problems/continuous-subarray-sum
241379Design Phone Directory46.8%Medium0.10135249426028749https://leetcode.com/problems/design-phone-directory
242979Distribute Coins in Binary Tree68.9%Medium0.10090468412429855https://leetcode.com/problems/distribute-coins-in-binary-tree
243142Linked List Cycle II37.3%Medium0.10019322804117618https://leetcode.com/problems/linked-list-cycle-ii
244387First Unique Character in a String53.4%Easy0.09971390202061521https://leetcode.com/problems/first-unique-character-in-a-string
245283Move Zeroes57.8%Easy0.09896140984010138https://leetcode.com/problems/move-zeroes
24684Largest Rectangle in Histogram35.2%Hard0.09762873497741681https://leetcode.com/problems/largest-rectangle-in-histogram
24783Remove Duplicates from Sorted List45.4%Easy0.0971047329502579https://leetcode.com/problems/remove-duplicates-from-sorted-list
248733Flood Fill55.3%Easy0.09669362480247104https://leetcode.com/problems/flood-fill
249280Wiggle Sort63.8%Medium0.09561417737468547https://leetcode.com/problems/wiggle-sort
250438Find All Anagrams in a String43.3%Medium0.09527308850408509https://leetcode.com/problems/find-all-anagrams-in-a-string
251493Reverse Pairs25.2%Hard0.09450889771017068https://leetcode.com/problems/reverse-pairs
252611Valid Triangle Number48.4%Medium0.09333193979221914https://leetcode.com/problems/valid-triangle-number
253662Maximum Width of Binary Tree41.0%Medium0.09316274664172107https://leetcode.com/problems/maximum-width-of-binary-tree
2541062Longest Repeating Substring57.2%Medium0.09201889872025212https://leetcode.com/problems/longest-repeating-substring
255381Insert Delete GetRandom O(1) - Duplicates allowed34.1%Hard0.09106388892287375https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
256252Meeting Rooms54.6%Easy0.09020195522698488https://leetcode.com/problems/meeting-rooms
257647Palindromic Substrings60.6%Medium0.08992575300574686https://leetcode.com/problems/palindromic-substrings
2581116Print Zero Even Odd56.0%Medium0.08934510033584994https://leetcode.com/problems/print-zero-even-odd
259652Find Duplicate Subtrees50.2%Medium0.08907963005368878https://leetcode.com/problems/find-duplicate-subtrees
260509Fibonacci Number67.2%Easy0.08383840268320984https://leetcode.com/problems/fibonacci-number
261939Minimum Area Rectangle51.8%Medium0.08361414004113359https://leetcode.com/problems/minimum-area-rectangle
26289Gray Code49.1%Medium0.08112554481236843https://leetcode.com/problems/gray-code
263354Russian Doll Envelopes35.6%Hard0.08025695513016742https://leetcode.com/problems/russian-doll-envelopes
26497Interleaving String31.5%Hard0.07948571541724253https://leetcode.com/problems/interleaving-string
265784Letter Case Permutation64.6%Medium0.0787033338274549https://leetcode.com/problems/letter-case-permutation
2661104Path In Zigzag Labelled Binary Tree72.0%Medium0.07786032177227234https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree
267341Flatten Nested List Iterator52.9%Medium0.07763353611776078https://leetcode.com/problems/flatten-nested-list-iterator
268210Course Schedule II40.7%Medium0.07762595476606639https://leetcode.com/problems/course-schedule-ii
26955Jump Game34.6%Medium0.07748307858552587https://leetcode.com/problems/jump-game
270162Find Peak Element43.3%Medium0.0751426333944982https://leetcode.com/problems/find-peak-element
27112Integer to Roman55.1%Medium0.07429157630369143https://leetcode.com/problems/integer-to-roman
272515Find Largest Value in Each Tree Row61.1%Medium0.07428007438287054https://leetcode.com/problems/find-largest-value-in-each-tree-row
2731079Letter Tile Possibilities75.4%Medium0.07350246199292652https://leetcode.com/problems/letter-tile-possibilities
274721Accounts Merge48.8%Medium0.07349495575336484https://leetcode.com/problems/accounts-merge
275503Next Greater Element II56.5%Medium0.07339377143296942https://leetcode.com/problems/next-greater-element-ii
276351Android Unlock Patterns48.4%Medium0.07197349962508924https://leetcode.com/problems/android-unlock-patterns
277271Encode and Decode Strings31.5%Medium0.07197349962508924https://leetcode.com/problems/encode-and-decode-strings
278290Word Pattern37.0%Easy0.071651050037288https://leetcode.com/problems/word-pattern
27981Search in Rotated Sorted Array II33.0%Medium0.07091146875905202https://leetcode.com/problems/search-in-rotated-sorted-array-ii
280632Smallest Range Covering Elements from K Lists52.4%Hard0.07082605256861242https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
281987Vertical Order Traversal of a Binary Tree36.6%Medium0.070392125446596https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
282347Top K Frequent Elements61.2%Medium0.07032016944224467https://leetcode.com/problems/top-k-frequent-elements
283676Implement Magic Dictionary54.5%Medium0.06995858860691037https://leetcode.com/problems/implement-magic-dictionary
284406Queue Reconstruction by Height66.9%Medium0.06917190648877243https://leetcode.com/problems/queue-reconstruction-by-height
285432All O`one Data Structure32.4%Hard0.06887402901251127https://leetcode.com/problems/all-oone-data-structure
286383Ransom Note53.1%Easy0.06869653128623486https://leetcode.com/problems/ransom-note
287284Peeking Iterator45.7%Medium0.06867686579621939https://leetcode.com/problems/peeking-iterator
288270Closest Binary Search Tree Value48.5%Easy0.06680279511160087https://leetcode.com/problems/closest-binary-search-tree-value
2891145Binary Tree Coloring Game51.2%Medium0.06592172080482424https://leetcode.com/problems/binary-tree-coloring-game
2907Reverse Integer25.8%Easy0.06491395714978664https://leetcode.com/problems/reverse-integer
291658Find K Closest Elements40.9%Medium0.06485254217956125https://leetcode.com/problems/find-k-closest-elements
292769Max Chunks To Make Sorted54.8%Medium0.06474752939415815https://leetcode.com/problems/max-chunks-to-make-sorted
293174Dungeon Game32.3%Hard0.06367072323433676https://leetcode.com/problems/dungeon-game
294147Insertion Sort List41.1%Medium0.06340151135049601https://leetcode.com/problems/insertion-sort-list
295397Integer Replacement32.9%Medium0.06331227941432688https://leetcode.com/problems/integer-replacement
29686Partition List41.5%Medium0.06170036851169576https://leetcode.com/problems/partition-list
297739Daily Temperatures63.3%Medium0.06111383323222972https://leetcode.com/problems/daily-temperatures
298701Insert into a Binary Search Tree77.7%Medium0.06069363413516112https://leetcode.com/problems/insert-into-a-binary-search-tree
29911Container With Most Water50.8%Medium0.060358007567261264https://leetcode.com/problems/container-with-most-water
300305Number of Islands II40.1%Hard0.06007812394328337https://leetcode.com/problems/number-of-islands-ii
301796Rotate String49.6%Easy0.059778751425839334https://leetcode.com/problems/rotate-string
302118Pascal's Triangle52.5%Easy0.05916940920826907https://leetcode.com/problems/pascals-triangle
303630Course Schedule III33.5%Hard0.058581901624802396https://leetcode.com/problems/course-schedule-iii
304198House Robber42.0%Easy0.05849085907372723https://leetcode.com/problems/house-robber
30578Subsets62.0%Medium0.05743033072740612https://leetcode.com/problems/subsets
306403Frog Jump39.7%Hard0.05741372523004705https://leetcode.com/problems/frog-jump
307621Task Scheduler50.1%Medium0.05695976044875415https://leetcode.com/problems/task-scheduler
308950Reveal Cards In Increasing Order74.6%Medium0.056592185311170023https://leetcode.com/problems/reveal-cards-in-increasing-order
309109Convert Sorted List to Binary Search Tree47.7%Medium0.05655216950492122https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
3101038Binary Search Tree to Greater Sum Tree80.8%Medium0.05637058926920947https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
311653Two Sum IV - Input is a BST55.5%Easy0.055724721838100025https://leetcode.com/problems/two-sum-iv-input-is-a-bst
312230Kth Smallest Element in a BST60.2%Medium0.055629976214953934https://leetcode.com/problems/kth-smallest-element-in-a-bst
31362Unique Paths54.1%Medium0.055187969852649885https://leetcode.com/problems/unique-paths
314304Range Sum Query 2D - Immutable38.6%Medium0.054527987071175225https://leetcode.com/problems/range-sum-query-2d-immutable
315703Kth Largest Element in a Stream49.7%Easy0.054472280837981495https://leetcode.com/problems/kth-largest-element-in-a-stream
3161229Meeting Scheduler52.7%Medium0.053560323833736816https://leetcode.com/problems/meeting-scheduler
317101Symmetric Tree46.8%Easy0.05314658664103646https://leetcode.com/problems/symmetric-tree
31870Climbing Stairs47.8%Easy0.05292045608536146https://leetcode.com/problems/climbing-stairs
319329Longest Increasing Path in a Matrix43.4%Hard0.052557250738676044https://leetcode.com/problems/longest-increasing-path-in-a-matrix
320122Best Time to Buy and Sell Stock II57.0%Easy0.05236798551731598https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
32157Insert Interval33.5%Hard0.05147485598282032https://leetcode.com/problems/insert-interval
322209Minimum Size Subarray Sum38.2%Medium0.05146227039335983https://leetcode.com/problems/minimum-size-subarray-sum
32365Valid Number15.3%Hard0.05071509257901641https://leetcode.com/problems/valid-number
324216Combination Sum III56.6%Medium0.05017774958571902https://leetcode.com/problems/combination-sum-iii
325981Time Based Key-Value Store53.1%Medium0.049406315387071284https://leetcode.com/problems/time-based-key-value-store
326167Two Sum II - Input array is sorted54.1%Easy0.04850742103311059https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
327405Convert a Number to Hexadecimal43.9%Easy0.0483770263821056https://leetcode.com/problems/convert-a-number-to-hexadecimal
328547Friend Circles58.6%Medium0.04804286211474039https://leetcode.com/problems/friend-circles
329845Longest Mountain in Array37.2%Medium0.047458490406358134https://leetcode.com/problems/longest-mountain-in-array
330698Partition to K Equal Sum Subsets45.0%Medium0.04685917114094188https://leetcode.com/problems/partition-to-k-equal-sum-subsets
331876Middle of the Linked List68.4%Easy0.046728740327781716https://leetcode.com/problems/middle-of-the-linked-list
332223Rectangle Area37.8%Medium0.04598511324182338https://leetcode.com/problems/rectangle-area
333843Guess the Word46.1%Hard0.045462374076757336https://leetcode.com/problems/guess-the-word
334205Isomorphic Strings39.8%Easy0.045397866271290506https://leetcode.com/problems/isomorphic-strings
335609Find Duplicate File in System59.5%Medium0.045205436768046794https://leetcode.com/problems/find-duplicate-file-in-system
336325Maximum Size Subarray Sum Equals k46.8%Medium0.04495138786226632https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
337680Valid Palindrome II36.6%Easy0.04470617503841694https://leetcode.com/problems/valid-palindrome-ii
338489Robot Room Cleaner69.7%Hard0.04460047988428181https://leetcode.com/problems/robot-room-cleaner
339349Intersection of Two Arrays62.5%Easy0.04447549064708117https://leetcode.com/problems/intersection-of-two-arrays
340895Maximum Frequency Stack60.6%Hard0.04329680575332419https://leetcode.com/problems/maximum-frequency-stack
341448Find All Numbers Disappeared in an Array55.9%Easy0.04214343508255059https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array
342532K-diff Pairs in an Array31.6%Easy0.041672696400568025https://leetcode.com/problems/k-diff-pairs-in-an-array
343430Flatten a Multilevel Doubly Linked List55.1%Medium0.04154283751370906https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
344844Backspace String Compare46.4%Easy0.041499730906752734https://leetcode.com/problems/backspace-string-compare
3451004Max Consecutive Ones III59.1%Medium0.041252411938220004https://leetcode.com/problems/max-consecutive-ones-iii
346243Shortest Word Distance61.0%Easy0.040780370344928096https://leetcode.com/problems/shortest-word-distance
347907Sum of Subarray Minimums32.3%Medium0.04069737616380998https://leetcode.com/problems/sum-of-subarray-minimums
348819Most Common Word44.8%Easy0.0404606389166018https://leetcode.com/problems/most-common-word
349833Find And Replace in String50.4%Medium0.03984590854719967https://leetcode.com/problems/find-and-replace-in-string
350788Rotated Digits57.1%Easy0.03980625040041967https://leetcode.com/problems/rotated-digits
351256Paint House52.1%Easy0.03937516523483013https://leetcode.com/problems/paint-house
352872Leaf-Similar Trees64.5%Easy0.03899974309382511https://leetcode.com/problems/leaf-similar-trees
353184Sum33.7%Medium0.03880215185647971https://leetcode.com/problems/4sum
354113Path Sum II46.7%Medium0.03857758982167768https://leetcode.com/problems/path-sum-ii
3551381Design a Stack With Increment Operation74.7%Medium0.038355612390321446https://leetcode.com/problems/design-a-stack-with-increment-operation
35634Find First and Last Position of Element in Sorted Array36.2%Medium0.03759448672488506https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
357643Maximum Average Subarray I41.5%Easy0.03683657735649026https://leetcode.com/problems/maximum-average-subarray-i
358887Super Egg Drop27.1%Hard0.03660060864484636https://leetcode.com/problems/super-egg-drop
359884Uncommon Words from Two Sentences63.3%Easy0.036301626676214796https://leetcode.com/problems/uncommon-words-from-two-sentences
360161One Edit Distance32.3%Medium0.03626870773745257https://leetcode.com/problems/one-edit-distance
361934Shortest Bridge48.2%Medium0.03607244121670154https://leetcode.com/problems/shortest-bridge
362973K Closest Points to Origin63.8%Medium0.035550452059401896https://leetcode.com/problems/k-closest-points-to-origin
3631304Find N Unique Integers Sum up to Zero76.3%Easy0.035408891906255915https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
3641143Longest Common Subsequence58.4%Medium0.03488472325916733https://leetcode.com/problems/longest-common-subsequence
365152Maximum Product Subarray31.7%Medium0.034438665054543384https://leetcode.com/problems/maximum-product-subarray
366416Partition Equal Subset Sum43.7%Medium0.034301326353463016https://leetcode.com/problems/partition-equal-subset-sum
367480Sliding Window Median37.2%Hard0.03373001037669306https://leetcode.com/problems/sliding-window-median
368104Maximum Depth of Binary Tree66.0%Easy0.03362699323605452https://leetcode.com/problems/maximum-depth-of-binary-tree
369707Design Linked List24.5%Medium0.03356019649230184https://leetcode.com/problems/design-linked-list
370832Flipping an Image76.2%Easy0.03267078228954871https://leetcode.com/problems/flipping-an-image
371237Delete Node in a Linked List63.8%Easy0.031728549820175866https://leetcode.com/problems/delete-node-in-a-linked-list
3721091Shortest Path in Binary Matrix38.2%Medium0.03164821095078173https://leetcode.com/problems/shortest-path-in-binary-matrix
373228Summary Ranges39.5%Medium0.03157326191609021https://leetcode.com/problems/summary-ranges
374187Repeated DNA Sequences38.9%Medium0.03147388037973136https://leetcode.com/problems/repeated-dna-sequences
375323Number of Connected Components in an Undirected Graph56.0%Medium0.031399753867979864https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
376867Transpose Matrix62.8%Easy0.031179454774354007https://leetcode.com/problems/transpose-matrix
377131Palindrome Partitioning47.5%Medium0.03101558050692165https://leetcode.com/problems/palindrome-partitioning
378575Distribute Candies61.4%Easy0.030890487019338404https://leetcode.com/problems/distribute-candies
3796ZigZag Conversion36.3%Medium0.03049597862981453https://leetcode.com/problems/zigzag-conversion
380316Remove Duplicate Letters35.8%Hard0.030443751414723153https://leetcode.com/problems/remove-duplicate-letters
3811027Longest Arithmetic Sequence53.4%Medium0.03030534949532895https://leetcode.com/problems/longest-arithmetic-sequence
382994Rotting Oranges49.2%Medium0.030179582027776965https://leetcode.com/problems/rotting-oranges
383163Sum Closest46.0%Medium0.02976964023166436https://leetcode.com/problems/3sum-closest
3841197Minimum Knight Moves36.1%Medium0.02969780239174205https://leetcode.com/problems/minimum-knight-moves
385671Second Minimum Node In a Binary Tree42.7%Easy0.02958795718549609https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
38614Longest Common Prefix35.4%Easy0.029493413243583278https://leetcode.com/problems/longest-common-prefix
387169Majority Element58.7%Easy0.02905829743134675https://leetcode.com/problems/majority-element
38882Remove Duplicates from Sorted List II36.8%Medium0.028950236662501776https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
389413Arithmetic Slices57.9%Medium0.028431197162004825https://leetcode.com/problems/arithmetic-slices
390852Peak Index in a Mountain Array71.6%Easy0.02817087696669632https://leetcode.com/problems/peak-index-in-a-mountain-array
391311Sparse Matrix Multiplication61.9%Medium0.027702602549335792https://leetcode.com/problems/sparse-matrix-multiplication
392472Concatenated Words43.7%Hard0.027664281472355556https://leetcode.com/problems/concatenated-words
393498Diagonal Traverse48.2%Medium0.02756894104498661https://leetcode.com/problems/diagonal-traverse
394172Factorial Trailing Zeroes37.8%Easy0.02752467339009002https://leetcode.com/problems/factorial-trailing-zeroes
39529Divide Two Integers16.4%Medium0.026820246545985277https://leetcode.com/problems/divide-two-integers
396373Find K Pairs with Smallest Sums36.7%Medium0.02626546261018635https://leetcode.com/problems/find-k-pairs-with-smallest-sums
397541Reverse String II48.4%Easy0.025349899895526405https://leetcode.com/problems/reverse-string-ii
3987171-bit and 2-bit Characters48.8%Easy0.025269822188076344https://leetcode.com/problems/1-bit-and-2-bit-characters
399785Is Graph Bipartite?47.5%Medium0.02510592113107633https://leetcode.com/problems/is-graph-bipartite
400220Contains Duplicate III20.9%Medium0.024876904755404577https://leetcode.com/problems/contains-duplicate-iii
401202Happy Number50.4%Easy0.02483442856330386https://leetcode.com/problems/happy-number
402735Asteroid Collision41.0%Medium0.024723138086794758https://leetcode.com/problems/asteroid-collision
403977Squares of a Sorted Array72.1%Easy0.02407434514623628https://leetcode.com/problems/squares-of-a-sorted-array
404704Binary Search52.1%Easy0.02368531774150923https://leetcode.com/problems/binary-search
405282Expression Add Operators35.5%Hard0.022523474667082946https://leetcode.com/problems/expression-add-operators
406221Maximal Square37.7%Medium0.022108490754203434https://leetcode.com/problems/maximal-square
407226Invert Binary Tree65.0%Easy0.021852822620514783https://leetcode.com/problems/invert-binary-tree
408112Path Sum41.2%Easy0.021701651897460775https://leetcode.com/problems/path-sum
409905Sort Array By Parity74.1%Easy0.02148053951675942https://leetcode.com/problems/sort-array-by-parity
410459Repeated Substring Pattern42.2%Easy0.021402636114384706https://leetcode.com/problems/repeated-substring-pattern
411359Logger Rate Limiter70.8%Easy0.021053409197832343https://leetcode.com/problems/logger-rate-limiter
412670Maximum Swap43.6%Medium0.020844944430365928https://leetcode.com/problems/maximum-swap
413350Intersection of Two Arrays II51.4%Easy0.020680587107206983https://leetcode.com/problems/intersection-of-two-arrays-ii
41460Permutation Sequence38.4%Hard0.020471543980187256https://leetcode.com/problems/permutation-sequence
415166Fraction to Recurring Decimal21.6%Medium0.02015181543730795https://leetcode.com/problems/fraction-to-recurring-decimal
416525Contiguous Array42.8%Medium0.01975372873623256https://leetcode.com/problems/contiguous-array
4171122Relative Sort Array67.7%Easy0.019685675071030327https://leetcode.com/problems/relative-sort-array
418435Non-overlapping Intervals42.9%Medium0.019455866615365896https://leetcode.com/problems/non-overlapping-intervals
419399Evaluate Division51.6%Medium0.019380451549662482https://leetcode.com/problems/evaluate-division
420674Longest Continuous Increasing Subsequence45.9%Easy0.01900294712561538https://leetcode.com/problems/longest-continuous-increasing-subsequence
4211155Number of Dice Rolls With Target Sum49.0%Medium0.018904154639152678https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
4229Palindrome Number48.4%Easy0.018837205580381582https://leetcode.com/problems/palindrome-number
423787Cheapest Flights Within K Stops39.3%Medium0.018824085245635554https://leetcode.com/problems/cheapest-flights-within-k-stops
4241008Construct Binary Search Tree from Preorder Traversal78.4%Medium0.01844220088035248https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
425136Single Number65.5%Easy0.017801666336826266https://leetcode.com/problems/single-number
426993Cousins in Binary Tree52.0%Easy0.017414458368636587https://leetcode.com/problems/cousins-in-binary-tree
42795Unique Binary Search Trees II40.6%Medium0.016856699181010838https://leetcode.com/problems/unique-binary-search-trees-ii
428191Number of 1 Bits49.8%Easy0.01673523624045844https://leetcode.com/problems/number-of-1-bits
429176Second Highest Salary31.6%Easy0.01655971603901838https://leetcode.com/problems/second-highest-salary
430299Bulls and Cows42.4%Easy0.016227536621756702https://leetcode.com/problems/bulls-and-cows
431938Range Sum of BST81.3%Easy0.015707129205357877https://leetcode.com/problems/range-sum-of-bst
432929Unique Email Addresses67.4%Easy0.01514033463141179https://leetcode.com/problems/unique-email-addresses
433217Contains Duplicate56.0%Easy0.015106027431013205https://leetcode.com/problems/contains-duplicate
434367Valid Perfect Square41.7%Easy0.014992784586141334https://leetcode.com/problems/valid-perfect-square
435106Construct Binary Tree from Inorder and Postorder Traversal47.2%Medium0.014538520789527288https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
436107Binary Tree Level Order Traversal II53.5%Easy0.014395642075089957https://leetcode.com/problems/binary-tree-level-order-traversal-ii
437222Count Complete Tree Nodes46.8%Medium0.014015646388344492https://leetcode.com/problems/count-complete-tree-nodes
438144Binary Tree Preorder Traversal55.7%Medium0.013667638728663807https://leetcode.com/problems/binary-tree-preorder-traversal
4391192Critical Connections in a Network48.6%Hard0.01352742981715631https://leetcode.com/problems/critical-connections-in-a-network
440303Range Sum Query - Immutable44.7%Easy0.013240842236997532https://leetcode.com/problems/range-sum-query-immutable
441120Triangle44.2%Medium0.013236460625830901https://leetcode.com/problems/triangle
442496Next Greater Element I63.8%Easy0.013201511858535894https://leetcode.com/problems/next-greater-element-i
443219Contains Duplicate II37.7%Easy0.01276748910345265https://leetcode.com/problems/contains-duplicate-ii
444743Network Delay Time45.0%Medium0.012743084194281933https://leetcode.com/problems/network-delay-time
445213House Robber II36.5%Medium0.012654392210497564https://leetcode.com/problems/house-robber-ii
44650Pow(x;n)30.3%Medium0.01254502984008178https://leetcode.com/problems/powx-n
447437Path Sum III47.2%Medium0.012128711446614806https://leetcode.com/problems/path-sum-iii
448278First Bad Version35.7%Easy0.012090421323816148https://leetcode.com/problems/first-bad-version
44990Subsets II47.1%Medium0.011412392051744769https://leetcode.com/problems/subsets-ii
450494Target Sum46.3%Medium0.011062059705858562https://leetcode.com/problems/target-sum
451463Island Perimeter65.7%Easy0.010935046086198837https://leetcode.com/problems/island-perimeter
452338Counting Bits69.5%Medium0.01088446119842327https://leetcode.com/problems/counting-bits
453257Binary Tree Paths51.5%Easy0.010457611643958139https://leetcode.com/problems/binary-tree-paths
454211Add and Search Word - Data structure design38.1%Medium0.010438508143923443https://leetcode.com/problems/add-and-search-word-data-structure-design
45535Search Insert Position42.6%Easy0.010425207359624364https://leetcode.com/problems/search-insert-position
456414Third Maximum Number30.5%Easy0.010357420400453607https://leetcode.com/problems/third-maximum-number
457231Power of Two43.7%Easy0.0097371752778583https://leetcode.com/problems/power-of-two
45847Permutations II46.4%Medium0.009673594178378379https://leetcode.com/problems/permutations-ii
45996Unique Binary Search Trees52.9%Medium0.009242209964820877https://leetcode.com/problems/unique-binary-search-trees
460279Perfect Squares47.4%Medium0.009216655104924008https://leetcode.com/problems/perfect-squares
4611249Minimum Remove to Make Valid Parentheses62.5%Medium0.009195467093100304https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
462953Verifying an Alien Dictionary54.1%Easy0.007884921592696038https://leetcode.com/problems/verifying-an-alien-dictionary
463111Minimum Depth of Binary Tree37.4%Easy0.0066203485760693214https://leetcode.com/problems/minimum-depth-of-binary-tree
464100Same Tree53.4%Easy0.005620163024677507https://leetcode.com/problems/same-tree
465485Max Consecutive Ones54.6%Easy0.005314920829289628https://leetcode.com/problems/max-consecutive-ones
4661470Shuffle the Array88.9%Easy0.004527967890154029https://leetcode.com/problems/shuffle-the-array
46727Remove Element48.2%Easy0.0035524016043678225https://leetcode.com/problems/remove-element
4681344Angle Between Hands of a Clock61.4%Medium0.0019544616795205403https://leetcode.com/problems/angle-between-hands-of-a-clock
46967Add Binary45.2%Easy0.0016620272243229827https://leetcode.com/problems/add-binary
470203Remove Linked List Elements38.6%Easy0.0016237064659255223https://leetcode.com/problems/remove-linked-list-elements