LeetCode-Questions-CompanyWise/facebook_alltime.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

63 KiB
Raw Permalink Blame History

1IDTitleAcceptanceDifficultyFrequencyLeetcode Question Link
2301Remove Invalid Parentheses43.3%Hard5.575610066775206https://leetcode.com/problems/remove-invalid-parentheses
3273Integer to English Words27.1%Hard5.444753025333917https://leetcode.com/problems/integer-to-english-words
4953Verifying an Alien Dictionary54.1%Easy5.313895983892627https://leetcode.com/problems/verifying-an-alien-dictionary
5158Read N Characters Given Read4 II - Call multiple times33.8%Hard5.183038942451338https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
6297Serialize and Deserialize Binary Tree47.5%Hard5.090902981800583https://leetcode.com/problems/serialize-and-deserialize-binary-tree
710Regular Expression Matching26.8%Hard4.960045940359294https://leetcode.com/problems/regular-expression-matching
891Decode Ways24.7%Medium4.926071339059624https://leetcode.com/problems/decode-ways
9253Meeting Rooms II45.7%Medium4.890863444823654https://leetcode.com/problems/meeting-rooms-ii
10238Product of Array Except Self60.1%Medium4.787304832474671https://leetcode.com/problems/product-of-array-except-self
11680Valid Palindrome II36.6%Easy4.727432294246022https://leetcode.com/problems/valid-palindrome-ii
12153Sum26.8%Medium4.716880252749641https://leetcode.com/problems/3sum
13560Subarray Sum Equals K43.9%Medium4.681694359055468https://leetcode.com/problems/subarray-sum-equals-k
14278First Bad Version35.7%Easy4.667124795676079https://leetcode.com/problems/first-bad-version
1576Minimum Window Substring34.6%Hard4.624844309488783https://leetcode.com/problems/minimum-window-substring
16973K Closest Points to Origin63.8%Medium4.6226837423062355https://leetcode.com/problems/k-closest-points-to-origin
1767Add Binary45.2%Easy4.59057803547337https://leetcode.com/problems/add-binary
1823Merge k Sorted Lists40.2%Hard4.540902119231776https://leetcode.com/problems/merge-k-sorted-lists
19283Move Zeroes57.8%Easy4.539910062491303https://leetcode.com/problems/move-zeroes
201249Minimum Remove to Make Valid Parentheses62.5%Medium4.510651510608414https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
21125Valid Palindrome36.7%Easy4.472291401117124https://leetcode.com/problems/valid-palindrome
2229Divide Two Integers16.4%Medium4.451722795491452https://leetcode.com/problems/divide-two-integers
2331Next Permutation32.6%Medium4.413309355076113https://leetcode.com/problems/next-permutation
24173Binary Search Tree Iterator56.6%Medium4.402058148743651https://leetcode.com/problems/binary-search-tree-iterator
25282Expression Add Operators35.5%Hard4.392818642206004https://leetcode.com/problems/expression-add-operators
26211Add and Search Word - Data structure design38.1%Medium4.32373689930886https://leetcode.com/problems/add-and-search-word-data-structure-design
2765Valid Number15.3%Hard4.274687734189391https://leetcode.com/problems/valid-number
28157Read N Characters Given Read434.2%Easy4.211806122562663https://leetcode.com/problems/read-n-characters-given-read4
29124Binary Tree Maximum Path Sum34.3%Hard4.173080791636589https://leetcode.com/problems/binary-tree-maximum-path-sum
30314Binary Tree Vertical Order Traversal45.3%Medium4.169848738461142https://leetcode.com/problems/binary-tree-vertical-order-traversal
3117Letter Combinations of a Phone Number46.8%Medium4.164730824697368https://leetcode.com/problems/letter-combinations-of-a-phone-number
3256Merge Intervals39.3%Medium4.104801117510305https://leetcode.com/problems/merge-intervals
33426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium4.095652308198605https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
34269Alien Dictionary33.3%Hard4.0805624877290665https://leetcode.com/problems/alien-dictionary
351Two Sum45.6%Easy4.011510827995362https://leetcode.com/problems/two-sum
36133Clone Graph34.8%Medium3.9966560335245793https://leetcode.com/problems/clone-graph
37325Maximum Size Subarray Sum Equals k46.8%Medium3.9738002945104958https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
38438Find All Anagrams in a String43.3%Medium3.9600414146616707https://leetcode.com/problems/find-all-anagrams-in-a-string
39311Sparse Matrix Multiplication61.9%Medium3.8291843732203814https://leetcode.com/problems/sparse-matrix-multiplication
40415Add Strings47.5%Easy3.823224938890351https://leetcode.com/problems/add-strings
41200Number of Islands46.8%Medium3.8178638361422226https://leetcode.com/problems/number-of-islands
42336Palindrome Pairs33.7%Hard3.774867877530413https://leetcode.com/problems/palindrome-pairs
43215Kth Largest Element in an Array55.4%Medium3.7586134025612274https://leetcode.com/problems/kth-largest-element-in-an-array
44543Diameter of Binary Tree48.4%Easy3.7178469184757565https://leetcode.com/problems/diameter-of-binary-tree
45257Binary Tree Paths51.5%Easy3.692630656645929https://leetcode.com/problems/binary-tree-paths
46523Continuous Subarray Sum24.6%Medium3.6834633730887782https://leetcode.com/problems/continuous-subarray-sum
47277Find the Celebrity41.8%Medium3.616681579302239https://leetcode.com/problems/find-the-celebrity
48621Task Scheduler50.1%Medium3.6045478094509233https://leetcode.com/problems/task-scheduler
4943Multiply Strings33.9%Medium3.5921750861240196https://leetcode.com/problems/multiply-strings
5098Validate Binary Search Tree27.8%Medium3.581806727833732https://leetcode.com/problems/validate-binary-search-tree
5142Trapping Rain Water48.9%Hard3.5778834321997866https://leetcode.com/problems/trapping-rain-water
52689Maximum Sum of 3 Non-Overlapping Subarrays46.3%Hard3.5588948279750623https://leetcode.com/problems/maximum-sum-of-3-non-overlapping-subarrays
53349Intersection of Two Arrays62.5%Easy3.498653100218706https://leetcode.com/problems/intersection-of-two-arrays
54340Longest Substring with At Most K Distinct Characters44.1%Hard3.455560352078738https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
55121Best Time to Buy and Sell Stock50.5%Easy3.423204938390614https://leetcode.com/problems/best-time-to-buy-and-sell-stock
5688Merge Sorted Array39.4%Easy3.421005187994902https://leetcode.com/problems/merge-sorted-array
57114Flatten Binary Tree to Linked List49.3%Medium3.3920934149388993https://leetcode.com/problems/flatten-binary-tree-to-linked-list
58138Copy List with Random Pointer36.4%Medium3.3873161764915185https://leetcode.com/problems/copy-list-with-random-pointer
59636Exclusive Time of Functions51.9%Medium3.3832963809646075https://leetcode.com/problems/exclusive-time-of-functions
60721Accounts Merge48.8%Medium3.3545947466566406https://leetcode.com/problems/accounts-merge
61161One Edit Distance32.3%Medium3.353178877168441https://leetcode.com/problems/one-edit-distance
62146LRU Cache33.2%Medium3.347163586386296https://leetcode.com/problems/lru-cache
63304Range Sum Query 2D - Immutable38.6%Medium3.333446415469864https://leetcode.com/problems/range-sum-query-2d-immutable
64199Binary Tree Right Side View54.1%Medium3.304270095581444https://leetcode.com/problems/binary-tree-right-side-view
65139Word Break40.1%Medium3.2929683383994965https://leetcode.com/problems/word-break
66785Is Graph Bipartite?47.5%Medium3.2902637558626https://leetcode.com/problems/is-graph-bipartite
6733Search in Rotated Sorted Array34.5%Medium3.1594067144213107https://leetcode.com/problems/search-in-rotated-sorted-array
68317Shortest Distance from All Buildings41.4%Hard3.1476976438713056https://leetcode.com/problems/shortest-distance-from-all-buildings
69143Reorder List37.1%Medium3.0702582463605563https://leetcode.com/problems/reorder-list
7071Simplify Path32.6%Medium3.0484180406242536https://leetcode.com/problems/simplify-path
71236Lowest Common Ancestor of a Binary Tree45.7%Medium3.0428333907886373https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
72286Walls and Gates54.5%Medium3.0338274496253073https://leetcode.com/problems/walls-and-gates
73986Interval List Intersections67.3%Medium3.0089200665434412https://leetcode.com/problems/interval-list-intersections
7434Find First and Last Position of Element in Sorted Array36.2%Medium2.98689800584703https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
75341Flatten Nested List Iterator52.9%Medium2.8560409644057407https://leetcode.com/problems/flatten-nested-list-iterator
76896Monotonic Array57.9%Easy2.8395358910441173https://leetcode.com/problems/monotonic-array
77398Random Pick Index56.0%Medium2.8139239778761542https://leetcode.com/problems/random-pick-index
7820Valid Parentheses39.0%Easy2.8025626605638214https://leetcode.com/problems/valid-parentheses
79227Basic Calculator II36.9%Medium2.7631872114373093https://leetcode.com/problems/basic-calculator-ii
8057Insert Interval33.5%Hard2.7331319297198133https://leetcode.com/problems/insert-interval
81270Closest Binary Search Tree Value48.5%Easy2.6434272396312797https://leetcode.com/problems/closest-binary-search-tree-value
82350Intersection of Two Arrays II51.4%Easy2.6433299851110665https://leetcode.com/problems/intersection-of-two-arrays-ii
83360Sort Transformed Array48.8%Medium2.5159168865305603https://leetcode.com/problems/sort-transformed-array
84825Friends Of Appropriate Ages42.7%Medium2.5148820184509786https://leetcode.com/problems/friends-of-appropriate-ages
85358Rearrange String k Distance Apart34.9%Hard2.5060004328478https://leetcode.com/problems/rearrange-string-k-distance-apart
8632Longest Valid Parentheses28.4%Hard2.5024857812383545https://leetcode.com/problems/longest-valid-parentheses
8778Subsets62.0%Medium2.499447442601738https://leetcode.com/problems/subsets
88247Strobogrammatic Number II47.6%Medium2.4817551197053462https://leetcode.com/problems/strobogrammatic-number-ii
89348Design Tic-Tac-Toe54.3%Medium2.468847008770655https://leetcode.com/problems/design-tic-tac-toe
90708Insert into a Sorted Circular Linked List31.6%Medium2.4286015114138553https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
91339Nested List Weight Sum74.0%Easy2.4235186826029427https://leetcode.com/problems/nested-list-weight-sum
9251N-Queens46.6%Hard2.3533410529606655https://leetcode.com/problems/n-queens
93824Goat Latin63.4%Easy2.335791734454864https://leetcode.com/problems/goat-latin
94300Longest Increasing Subsequence42.6%Medium2.311623040070363https://leetcode.com/problems/longest-increasing-subsequence
95246Strobogrammatic Number45.0%Easy2.3033292329266852https://leetcode.com/problems/strobogrammatic-number
9675Sort Colors47.3%Medium2.26383073754557https://leetcode.com/problems/sort-colors
97670Maximum Swap43.6%Medium2.243417413534214https://leetcode.com/problems/maximum-swap
98958Check Completeness of a Binary Tree52.1%Medium2.2371220522106188https://leetcode.com/problems/check-completeness-of-a-binary-tree
99380Insert Delete GetRandom O(1)47.5%Medium2.2300170531752253https://leetcode.com/problems/insert-delete-getrandom-o1
100285Inorder Successor in BST40.4%Medium2.2141456653587395https://leetcode.com/problems/inorder-successor-in-bst
101463Island Perimeter65.7%Easy2.1989334578253232https://leetcode.com/problems/island-perimeter
102938Range Sum of BST81.3%Easy2.18562625585131https://leetcode.com/problems/range-sum-of-bst
103987Vertical Order Traversal of a Binary Tree36.6%Medium2.1846999517750083https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
104224Basic Calculator36.8%Hard2.157363357784235https://leetcode.com/problems/basic-calculator
105126Word Ladder II22.1%Hard2.155302887907243https://leetcode.com/problems/word-ladder-ii
106109Convert Sorted List to Binary Search Tree47.7%Medium2.12389330425067https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
107528Random Pick with Weight43.9%Medium2.108026094329404https://leetcode.com/problems/random-pick-with-weight
10853Maximum Subarray46.5%Easy2.1007977216847413https://leetcode.com/problems/maximum-subarray
109162Find Peak Element43.3%Medium2.097923147793266https://leetcode.com/problems/find-peak-element
110449Serialize and Deserialize BST52.0%Medium2.0739609058750252https://leetcode.com/problems/serialize-and-deserialize-bst
111252Meeting Rooms54.6%Easy2.0566920989085755https://leetcode.com/problems/meeting-rooms
1123Longest Substring Without Repeating Characters30.4%Medium2.0517637291630937https://leetcode.com/problems/longest-substring-without-repeating-characters
113498Diagonal Traverse48.2%Medium2.043242115882686https://leetcode.com/problems/diagonal-traverse
114597Friend Requests I: Overall Acceptance Rate41.0%Easy2.027359179427378https://leetcode.com/problems/friend-requests-i-overall-acceptance-rate
11513Roman to Integer55.7%Easy2.01479997556304https://leetcode.com/problems/roman-to-integer
116251Flatten 2D Vector45.7%Medium1.9729845608202703https://leetcode.com/problems/flatten-2d-vector
1175Longest Palindromic Substring29.5%Medium1.9699539495822616https://leetcode.com/problems/longest-palindromic-substring
118127Word Ladder29.6%Medium1.9658429548852365https://leetcode.com/problems/word-ladder
1191428Leftmost Column with at Least a One46.8%Medium1.9587705311106522https://leetcode.com/problems/leftmost-column-with-at-least-a-one
120791Custom Sort String65.7%Medium1.9502755018573026https://leetcode.com/problems/custom-sort-string
121419Battleships in a Board70.0%Medium1.9320451089181416https://leetcode.com/problems/battleships-in-a-board
122494Target Sum46.3%Medium1.9292457672677412https://leetcode.com/problems/target-sum
123239Sliding Window Maximum43.0%Hard1.9141431781910356https://leetcode.com/problems/sliding-window-maximum
124772Basic Calculator III41.3%Hard1.83961549040569https://leetcode.com/problems/basic-calculator-iii
1258String to Integer (atoi)15.4%Medium1.8248495500300532https://leetcode.com/problems/string-to-integer-atoi
126305Number of Islands II40.1%Hard1.7943361261547834https://leetcode.com/problems/number-of-islands-ii
1272Add Two Numbers33.9%Medium1.7797160813383437https://leetcode.com/problems/add-two-numbers
128767Reorganize String48.7%Medium1.763473840984625https://leetcode.com/problems/reorganize-string
129632Smallest Range Covering Elements from K Lists52.4%Hard1.7399831997043351https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
130381Insert Delete GetRandom O(1) - Duplicates allowed34.1%Hard1.735473057934797https://leetcode.com/problems/insert-delete-getrandom-o1-duplicates-allowed
131206Reverse Linked List62.5%Easy1.7296971379749975https://leetcode.com/problems/reverse-linked-list
132602Friend Requests II: Who Has the Most Friends53.4%Medium1.7191182434527041https://leetcode.com/problems/friend-requests-ii-who-has-the-most-friends
133393UTF-8 Validation37.5%Medium1.7125378103037587https://leetcode.com/problems/utf-8-validation
13444Wildcard Matching24.7%Hard1.6993713125769454https://leetcode.com/problems/wildcard-matching
135249Group Shifted Strings55.1%Medium1.681514431400676https://leetcode.com/problems/group-shifted-strings
136308Range Sum Query 2D - Mutable35.6%Hard1.6796421711073488https://leetcode.com/problems/range-sum-query-2d-mutable
137567Permutation in String44.4%Medium1.6775468592381628https://leetcode.com/problems/permutation-in-string
13846Permutations63.5%Medium1.6727146787726128https://leetcode.com/problems/permutations
13949Group Anagrams56.9%Medium1.6634098456962998https://leetcode.com/problems/group-anagrams
140921Minimum Add to Make Parentheses Valid73.7%Medium1.657222079227145https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
141394Decode String50.0%Medium1.639247462442617https://leetcode.com/problems/decode-string
142218The Skyline Problem34.6%Hard1.6158688027643908https://leetcode.com/problems/the-skyline-problem
143658Find K Closest Elements40.9%Medium1.6142837737005458https://leetcode.com/problems/find-k-closest-elements
144432All O`one Data Structure32.4%Hard1.6115746653838356https://leetcode.com/problems/all-oone-data-structure
145477Total Hamming Distance50.4%Medium1.6077790787664574https://leetcode.com/problems/total-hamming-distance
146647Palindromic Substrings60.6%Medium1.604512052240803https://leetcode.com/problems/palindromic-substrings
147408Valid Word Abbreviation30.6%Easy1.591893602783191https://leetcode.com/problems/valid-word-abbreviation
1484Median of Two Sorted Arrays29.6%Hard1.5846309908488054https://leetcode.com/problems/median-of-two-sorted-arrays
149468Validate IP Address24.1%Medium1.582769665351939https://leetcode.com/problems/validate-ip-address
150105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium1.5718267400182278https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
15138Count and Say44.6%Easy1.569507967682265https://leetcode.com/problems/count-and-say
15221Merge Two Sorted Lists53.5%Easy1.54824799568769https://leetcode.com/problems/merge-two-sorted-lists
153230Kth Smallest Element in a BST60.2%Medium1.53927525756437https://leetcode.com/problems/kth-smallest-element-in-a-bst
154678Valid Parenthesis String31.0%Medium1.5238562476062738https://leetcode.com/problems/valid-parenthesis-string
15550Pow(x;n)30.3%Medium1.5210797012418373https://leetcode.com/problems/powx-n
156346Moving Average from Data Stream70.9%Easy1.5026900216652235https://leetcode.com/problems/moving-average-from-data-stream
1571060Missing Element in Sorted Array54.5%Medium1.492039418216795https://leetcode.com/problems/missing-element-in-sorted-array
158140Word Break II32.6%Hard1.4852880807915247https://leetcode.com/problems/word-break-ii
1591027Longest Arithmetic Sequence53.4%Medium1.4798547592004279https://leetcode.com/problems/longest-arithmetic-sequence
16022Generate Parentheses62.7%Medium1.4598441417994485https://leetcode.com/problems/generate-parentheses
161128Longest Consecutive Sequence45.1%Hard1.4545519468166546https://leetcode.com/problems/longest-consecutive-sequence
162622Design Circular Queue43.8%Medium1.4518172783301968https://leetcode.com/problems/design-circular-queue
163378Kth Smallest Element in a Sorted Matrix54.3%Medium1.4317632367033721https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
16439Combination Sum56.1%Medium1.426875569989807https://leetcode.com/problems/combination-sum
165416Partition Equal Subset Sum43.7%Medium1.4229637980393213https://leetcode.com/problems/partition-equal-subset-sum
166863All Nodes Distance K in Binary Tree55.4%Medium1.4150558906561048https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
167111Minimum Depth of Binary Tree37.4%Easy1.4037433634986387https://leetcode.com/problems/minimum-depth-of-binary-tree
1681197Minimum Knight Moves36.1%Medium1.3898674725847917https://leetcode.com/problems/minimum-knight-moves
169674Longest Continuous Increasing Subsequence45.9%Easy1.3856946609519925https://leetcode.com/problems/longest-continuous-increasing-subsequence
17025Reverse Nodes in k-Group42.1%Hard1.3778549488136094https://leetcode.com/problems/reverse-nodes-in-k-group
171208Implement Trie (Prefix Tree)49.4%Medium1.3771629265283898https://leetcode.com/problems/implement-trie-prefix-tree
172102Binary Tree Level Order Traversal54.6%Medium1.3765404200221878https://leetcode.com/problems/binary-tree-level-order-traversal
1731004Max Consecutive Ones III59.1%Medium1.3672799116652639https://leetcode.com/problems/max-consecutive-ones-iii
174489Robot Room Cleaner69.7%Hard1.3658472844776508https://leetcode.com/problems/robot-room-cleaner
17593Restore IP Addresses35.6%Medium1.3543524820841455https://leetcode.com/problems/restore-ip-addresses
176212Word Search II34.9%Hard1.3504762128004113https://leetcode.com/problems/word-search-ii
177184Sum33.7%Medium1.3502929904861851https://leetcode.com/problems/4sum
178295Find Median from Data Stream44.3%Hard1.3266403133417946https://leetcode.com/problems/find-median-from-data-stream
179266Palindrome Permutation61.9%Easy1.313084238269434https://leetcode.com/problems/palindrome-permutation
180332Reconstruct Itinerary36.7%Medium1.3122929249487976https://leetcode.com/problems/reconstruct-itinerary
181536Construct Binary Tree from String48.3%Medium1.3037077701106166https://leetcode.com/problems/construct-binary-tree-from-string
182192Word Frequency25.8%Medium1.3031749861241555https://leetcode.com/problems/word-frequency
183329Longest Increasing Path in a Matrix43.4%Hard1.2931319575091604https://leetcode.com/problems/longest-increasing-path-in-a-matrix
18479Word Search35.6%Medium1.280808879306902https://leetcode.com/problems/word-search
185209Minimum Size Subarray Sum38.2%Medium1.2775012133091628https://leetcode.com/problems/minimum-size-subarray-sum
186766Toeplitz Matrix65.1%Easy1.265045117487021https://leetcode.com/problems/toeplitz-matrix
187865Smallest Subtree with all the Deepest Nodes60.8%Medium1.261481419535249https://leetcode.com/problems/smallest-subtree-with-all-the-deepest-nodes
188334Increasing Triplet Subsequence40.0%Medium1.2611109832383756https://leetcode.com/problems/increasing-triplet-subsequence
189642Design Search Autocomplete System44.7%Hard1.2503871061280754https://leetcode.com/problems/design-search-autocomplete-system
190490The Maze51.4%Medium1.2425403427106805https://leetcode.com/problems/the-maze
191319Bulb Switcher45.4%Medium1.2396908869280152https://leetcode.com/problems/bulb-switcher
192452Minimum Number of Arrows to Burst Balloons49.6%Medium1.230615463551699https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons
193117Populating Next Right Pointers in Each Node II39.1%Medium1.2262318152453044https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
194123Best Time to Buy and Sell Stock III37.5%Hard1.2181973153830872https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
195403Frog Jump39.7%Hard1.2150082096651413https://leetcode.com/problems/frog-jump
196122Best Time to Buy and Sell Stock II57.0%Easy1.211854964772075https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
197240Search a 2D Matrix II43.2%Medium1.2033065500777145https://leetcode.com/problems/search-a-2d-matrix-ii
1981123Lowest Common Ancestor of Deepest Leaves66.8%Medium1.1969940730786561https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves
19928Implement strStr()34.5%Easy1.1865561075710946https://leetcode.com/problems/implement-strstr
200529Minesweeper59.1%Medium1.1685097282854882https://leetcode.com/problems/minesweeper
201347Top K Frequent Elements61.2%Medium1.1643255952406535https://leetcode.com/problems/top-k-frequent-elements
202692Top K Frequent Words51.8%Medium1.15697846163365https://leetcode.com/problems/top-k-frequent-words
203885Spiral Matrix III69.4%Medium1.1535711729488671https://leetcode.com/problems/spiral-matrix-iii
204695Max Area of Island62.7%Medium1.1498364243710308https://leetcode.com/problems/max-area-of-island
205399Evaluate Division51.6%Medium1.149791421288312https://leetcode.com/problems/evaluate-division
20673Set Matrix Zeroes43.1%Medium1.149283542861197https://leetcode.com/problems/set-matrix-zeroes
20792Reverse Linked List II38.8%Medium1.1166183153068636https://leetcode.com/problems/reverse-linked-list-ii
208116Populating Next Right Pointers in Each Node45.2%Medium1.100206500790656https://leetcode.com/problems/populating-next-right-pointers-in-each-node
209568Maximum Vacation Days40.8%Hard1.094922247580656https://leetcode.com/problems/maximum-vacation-days
210480Sliding Window Median37.2%Hard1.0748911879980227https://leetcode.com/problems/sliding-window-median
211207Course Schedule43.1%Medium1.0620388108009178https://leetcode.com/problems/course-schedule
21262Unique Paths54.1%Medium1.048269275172236https://leetcode.com/problems/unique-paths
21381Search in Rotated Sorted Array II33.0%Medium1.0428016537891152https://leetcode.com/problems/search-in-rotated-sorted-array-ii
214166Fraction to Recurring Decimal21.6%Medium1.042800072024958https://leetcode.com/problems/fraction-to-recurring-decimal
215540Single Element in a Sorted Array57.9%Medium1.011865403635058https://leetcode.com/problems/single-element-in-a-sorted-array
216548Split Array with Equal Sum46.4%Medium1.0048321509441844https://leetcode.com/problems/split-array-with-equal-sum
21754Spiral Matrix34.1%Medium0.9909089466876733https://leetcode.com/problems/spiral-matrix
218616Add Bold Tag in String43.1%Medium0.9877689061222668https://leetcode.com/problems/add-bold-tag-in-string
219694Number of Distinct Islands56.0%Medium0.968250470804866https://leetcode.com/problems/number-of-distinct-islands
22011Container With Most Water50.8%Medium0.9652015914688283https://leetcode.com/problems/container-with-most-water
221691Stickers to Spell Word42.9%Hard0.964462275547521https://leetcode.com/problems/stickers-to-spell-word
222235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.9620904161254789https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
22330Substring with Concatenation of All Words25.4%Hard0.959762453796152https://leetcode.com/problems/substring-with-concatenation-of-all-words
224400Nth Digit31.7%Medium0.9555114450274365https://leetcode.com/problems/nth-digit
225428Serialize and Deserialize N-ary Tree59.4%Hard0.9486721413771949https://leetcode.com/problems/serialize-and-deserialize-n-ary-tree
226333Largest BST Subtree35.8%Medium0.9400316341694208https://leetcode.com/problems/largest-bst-subtree
227934Shortest Bridge48.2%Medium0.9368313068095433https://leetcode.com/problems/shortest-bridge
228844Backspace String Compare46.4%Easy0.9264088620397397https://leetcode.com/problems/backspace-string-compare
22924Swap Nodes in Pairs50.4%Medium0.9160722651972566https://leetcode.com/problems/swap-nodes-in-pairs
23099Recover Binary Search Tree39.7%Hard0.914769996949273https://leetcode.com/problems/recover-binary-search-tree
231549Binary Tree Longest Consecutive Sequence II47.0%Medium0.9061007409684052https://leetcode.com/problems/binary-tree-longest-consecutive-sequence-ii
2321026Maximum Difference Between Node and Ancestor66.0%Medium0.9030048951625053https://leetcode.com/problems/maximum-difference-between-node-and-ancestor
233296Best Meeting Point57.5%Hard0.8977217646713296https://leetcode.com/problems/best-meeting-point
2341113Reported Posts64.1%Easy0.8873031950009028https://leetcode.com/problems/reported-posts
23590Subsets II47.1%Medium0.8707949916540203https://leetcode.com/problems/subsets-ii
236935Knight Dialer45.2%Medium0.8649974374866045https://leetcode.com/problems/knight-dialer
23768Text Justification27.7%Hard0.8643702353409353https://leetcode.com/problems/text-justification
238298Binary Tree Longest Consecutive Sequence47.1%Medium0.8602012652231115https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
239364Nested List Weight Sum II62.8%Medium0.8557675934060812https://leetcode.com/problems/nested-list-weight-sum-ii
24074Search a 2D Matrix36.5%Medium0.8550441428611075https://leetcode.com/problems/search-a-2d-matrix
241280Wiggle Sort63.8%Medium0.8539645517453929https://leetcode.com/problems/wiggle-sort
24285Maximal Rectangle37.7%Hard0.851125616256968https://leetcode.com/problems/maximal-rectangle
243554Brick Wall50.0%Medium0.8487112881843506https://leetcode.com/problems/brick-wall
24472Edit Distance44.8%Hard0.8465064934394285https://leetcode.com/problems/edit-distance
24537Sudoku Solver43.6%Hard0.8450632225857873https://leetcode.com/problems/sudoku-solver
246163Missing Ranges24.3%Medium0.8439308538392993https://leetcode.com/problems/missing-ranges
247387First Unique Character in a String53.4%Easy0.8261344910474214https://leetcode.com/problems/first-unique-character-in-a-string
248129Sum Root to Leaf Numbers49.1%Medium0.8250747236024935https://leetcode.com/problems/sum-root-to-leaf-numbers
249145Binary Tree Postorder Traversal55.0%Hard0.8218702184282537https://leetcode.com/problems/binary-tree-postorder-traversal
2501216Valid Palindrome III47.8%Hard0.8187244879431477https://leetcode.com/problems/valid-palindrome-iii
251977Squares of a Sorted Array72.1%Easy0.8167611365271219https://leetcode.com/problems/squares-of-a-sorted-array
252148Sort List42.3%Medium0.8074813963689672https://leetcode.com/problems/sort-list
253405Convert a Number to Hexadecimal43.9%Easy0.8060996223222796https://leetcode.com/problems/convert-a-number-to-hexadecimal
254639Decode Ways II26.6%Hard0.803408960173863https://leetcode.com/problems/decode-ways-ii
25569Sqrt(x)33.9%Easy0.8015083049747098https://leetcode.com/problems/sqrtx
25694Binary Tree Inorder Traversal63.3%Medium0.7944581703541944https://leetcode.com/problems/binary-tree-inorder-traversal
25784Largest Rectangle in Histogram35.2%Hard0.7909657228834762https://leetcode.com/problems/largest-rectangle-in-histogram
258939Minimum Area Rectangle51.8%Medium0.7758696575905972https://leetcode.com/problems/minimum-area-rectangle
259272Closest Binary Search Tree Value II50.5%Hard0.7668348963511045https://leetcode.com/problems/closest-binary-search-tree-value-ii
260839Similar String Groups38.6%Hard0.761200643804961https://leetcode.com/problems/similar-string-groups
261963Minimum Area Rectangle II50.9%Medium0.7566953924986649https://leetcode.com/problems/minimum-area-rectangle-ii
262614Second Degree Follower30.3%Medium0.7343230947441319https://leetcode.com/problems/second-degree-follower
26326Remove Duplicates from Sorted Array45.1%Easy0.7317263179888092https://leetcode.com/problems/remove-duplicates-from-sorted-array
264430Flatten a Multilevel Doubly Linked List55.1%Medium0.7229221667439826https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
265395Longest Substring with At Least K Repeating Characters41.4%Medium0.7110726187557327https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
266291Word Pattern II43.4%Hard0.705886206337375https://leetcode.com/problems/word-pattern-ii
2671094Car Pooling56.7%Medium0.7053672918947206https://leetcode.com/problems/car-pooling
268191Number of 1 Bits49.8%Easy0.6891075301794113https://leetcode.com/problems/number-of-1-bits
269322Coin Change35.5%Medium0.6780940077875448https://leetcode.com/problems/coin-change
270556Next Greater Element III31.7%Medium0.6780639383486168https://leetcode.com/problems/next-greater-element-iii
271323Number of Connected Components in an Undirected Graph56.0%Medium0.6754476034605444https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
272363Max Sum of Rectangle No Larger Than K37.3%Hard0.663876798259832https://leetcode.com/problems/max-sum-of-rectangle-no-larger-than-k
273242Valid Anagram56.9%Easy0.6609451753639594https://leetcode.com/problems/valid-anagram
27441First Missing Positive32.0%Hard0.6555459946274417https://leetcode.com/problems/first-missing-positive
275445Add Two Numbers II54.5%Medium0.639958398824261https://leetcode.com/problems/add-two-numbers-ii
276724Find Pivot Index44.0%Easy0.6379558192352488https://leetcode.com/problems/find-pivot-index
2771269Number of Ways to Stay in the Same Place After Some Steps43.2%Hard0.6050854936323582https://leetcode.com/problems/number-of-ways-to-stay-in-the-same-place-after-some-steps
278152Maximum Product Subarray31.7%Medium0.5918273884045084https://leetcode.com/problems/maximum-product-subarray
279518Coin Change 250.2%Medium0.5915614413251872https://leetcode.com/problems/coin-change-2
280137Single Number II52.4%Medium0.5915614413251872https://leetcode.com/problems/single-number-ii
281969Pancake Sorting67.5%Medium0.5905780135393897https://leetcode.com/problems/pancake-sorting
28236Valid Sudoku48.7%Medium0.589525373843642https://leetcode.com/problems/valid-sudoku
283160Intersection of Two Linked Lists40.6%Easy0.5696899885961959https://leetcode.com/problems/intersection-of-two-linked-lists
284637Average of Levels in Binary Tree63.1%Easy0.5608230187584083https://leetcode.com/problems/average-of-levels-in-binary-tree
285875Koko Eating Bananas52.1%Medium0.5548950868004853https://leetcode.com/problems/koko-eating-bananas
28619Remove Nth Node From End of List35.2%Medium0.5540320786995547https://leetcode.com/problems/remove-nth-node-from-end-of-list
287742Closest Leaf in a Binary Tree43.6%Medium0.5486958978214005https://leetcode.com/problems/closest-leaf-in-a-binary-tree
288214Shortest Palindrome29.8%Hard0.5331825308672672https://leetcode.com/problems/shortest-palindrome
28947Permutations II46.4%Medium0.5319853456599372https://leetcode.com/problems/permutations-ii
29045Jump Game II30.6%Hard0.5265290156944407https://leetcode.com/problems/jump-game-ii
291248Strobogrammatic Number III39.6%Hard0.5138062519041285https://leetcode.com/problems/strobogrammatic-number-iii
29255Jump Game34.6%Medium0.5103723488469963https://leetcode.com/problems/jump-game
2931242Web Crawler Multithreaded45.9%Medium0.4978384282391795https://leetcode.com/problems/web-crawler-multithreaded
294284Peeking Iterator45.7%Medium0.4945806415816577https://leetcode.com/problems/peeking-iterator
295316Remove Duplicate Letters35.8%Hard0.48610209879675464https://leetcode.com/problems/remove-duplicate-letters
296101Symmetric Tree46.8%Easy0.4835048270478799https://leetcode.com/problems/symmetric-tree
29712Integer to Roman55.1%Medium0.4818758905029877https://leetcode.com/problems/integer-to-roman
29840Combination Sum II48.2%Medium0.4799396659783134https://leetcode.com/problems/combination-sum-ii
299388Longest Absolute File Path41.8%Medium0.4754236967150748https://leetcode.com/problems/longest-absolute-file-path
300352Data Stream as Disjoint Intervals47.3%Hard0.47516062535545167https://leetcode.com/problems/data-stream-as-disjoint-intervals
30114Longest Common Prefix35.4%Easy0.47383141489567654https://leetcode.com/problems/longest-common-prefix
3021142User Activity for the Past 30 Days II34.5%Easy0.46937947443508493https://leetcode.com/problems/user-activity-for-the-past-30-days-ii
30366Plus One43.0%Easy0.4671814837705357https://leetcode.com/problems/plus-one
304443String Compression41.3%Easy0.4648256809530135https://leetcode.com/problems/string-compression
3051132Reported Posts II34.4%Medium0.4643731505984498https://leetcode.com/problems/reported-posts-ii
306153Find Minimum in Rotated Sorted Array45.1%Medium0.4624492968139545https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
307515Find Largest Value in Each Tree Row61.1%Medium0.4594054982539122https://leetcode.com/problems/find-largest-value-in-each-tree-row
3081213Intersection of Three Sorted Arrays78.9%Easy0.45778473187961194https://leetcode.com/problems/intersection-of-three-sorted-arrays
309223Rectangle Area37.8%Medium0.4551885434605949https://leetcode.com/problems/rectangle-area
3101008Construct Binary Search Tree from Preorder Traversal78.4%Medium0.44664069296978226https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
31163Unique Paths II34.6%Medium0.4447194776965593https://leetcode.com/problems/unique-paths-ii
312108Convert Sorted Array to Binary Search Tree57.9%Easy0.4427274468005625https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
313564Find the Closest Palindrome19.7%Hard0.43712242797885603https://leetcode.com/problems/find-the-closest-palindrome
314491Increasing Subsequences46.1%Medium0.4337197757657639https://leetcode.com/problems/increasing-subsequences
315189Rotate Array34.7%Easy0.42789160115933317https://leetcode.com/problems/rotate-array
31677Combinations54.7%Medium0.42763619580710505https://leetcode.com/problems/combinations
3171233Remove Sub-Folders from the Filesystem59.5%Medium0.4243747624654565https://leetcode.com/problems/remove-sub-folders-from-the-filesystem
318437Path Sum III47.2%Medium0.41578386430953973https://leetcode.com/problems/path-sum-iii
319392Is Subsequence49.2%Easy0.4144786135549692https://leetcode.com/problems/is-subsequence
32048Rotate Image56.7%Medium0.41267616798758366https://leetcode.com/problems/rotate-image
321151Reverse Words in a String21.9%Medium0.40449012406685037https://leetcode.com/problems/reverse-words-in-a-string
322776Split BST55.8%Medium0.4013413909243023https://leetcode.com/problems/split-bst
3231264Page Recommendations67.6%Medium0.39931124253378614https://leetcode.com/problems/page-recommendations
324688Knight Probability in Chessboard48.9%Medium0.38977851194046487https://leetcode.com/problems/knight-probability-in-chessboard
3251424Diagonal Traverse II42.4%Medium0.3873430652104741https://leetcode.com/problems/diagonal-traverse-ii
326136Single Number65.5%Easy0.3708919589097458https://leetcode.com/problems/single-number
3277Reverse Integer25.8%Easy0.36989351258944636https://leetcode.com/problems/reverse-integer
328167Two Sum II - Input array is sorted54.1%Easy0.3697194122572466https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
329547Friend Circles58.6%Medium0.36668313802455266https://leetcode.com/problems/friend-circles
330407Trapping Rain Water II42.4%Hard0.36621163438550147https://leetcode.com/problems/trapping-rain-water-ii
331150Evaluate Reverse Polish Notation36.3%Medium0.3580974192852753https://leetcode.com/problems/evaluate-reverse-polish-notation
3321032Stream of Characters48.3%Hard0.35736199308977074https://leetcode.com/problems/stream-of-characters
333345Reverse Vowels of a String44.2%Easy0.35407324785389366https://leetcode.com/problems/reverse-vowels-of-a-string
334703Kth Largest Element in a Stream49.7%Easy0.35302939867863786https://leetcode.com/problems/kth-largest-element-in-a-stream
335442Find All Duplicates in an Array67.8%Medium0.35261504015383743https://leetcode.com/problems/find-all-duplicates-in-an-array
336862Shortest Subarray with Sum at Least K24.6%Hard0.34470650089593724https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
337855Exam Room43.1%Medium0.34442921752179523https://leetcode.com/problems/exam-room
338303Range Sum Query - Immutable44.7%Easy0.33875458272156067https://leetcode.com/problems/range-sum-query-immutable
339435Non-overlapping Intervals42.9%Medium0.33492740097938434https://leetcode.com/problems/non-overlapping-intervals
340110Balanced Binary Tree43.5%Easy0.3341019099698985https://leetcode.com/problems/balanced-binary-tree
3411091Shortest Path in Binary Matrix38.2%Medium0.3320988840413624https://leetcode.com/problems/shortest-path-in-binary-matrix
342228Summary Ranges39.5%Medium0.33141882056106853https://leetcode.com/problems/summary-ranges
343827Making A Large Island45.7%Hard0.32879599515977564https://leetcode.com/problems/making-a-large-island
344794Valid Tic-Tac-Toe State32.6%Medium0.32676342249425205https://leetcode.com/problems/valid-tic-tac-toe-state
345384Shuffle an Array52.8%Medium0.3251022057535279https://leetcode.com/problems/shuffle-an-array
346852Peak Index in a Mountain Array71.6%Easy0.3250696045234013https://leetcode.com/problems/peak-index-in-a-mountain-array
347918Maximum Sum Circular Subarray33.7%Medium0.31591744682247913https://leetcode.com/problems/maximum-sum-circular-subarray
348163Sum Closest46.0%Medium0.3149279072827814https://leetcode.com/problems/3sum-closest
349104Maximum Depth of Binary Tree66.0%Easy0.31423184738371324https://leetcode.com/problems/maximum-depth-of-binary-tree
350686Repeated String Match32.3%Easy0.3117796240308414https://leetcode.com/problems/repeated-string-match
351478Generate Random Point in a Circle38.5%Medium0.30854721091574266https://leetcode.com/problems/generate-random-point-in-a-circle
352324Wiggle Sort II29.9%Medium0.30770093934227283https://leetcode.com/problems/wiggle-sort-ii
353112Path Sum41.2%Easy0.3008609933382415https://leetcode.com/problems/path-sum
3541245Tree Diameter60.1%Medium0.29849298855599654https://leetcode.com/problems/tree-diameter
355936Stamping The Sequence42.8%Hard0.2972515234679316https://leetcode.com/problems/stamping-the-sequence
356641Design Circular Deque52.7%Medium0.29571424414904524https://leetcode.com/problems/design-circular-deque
357155Min Stack44.5%Easy0.29559427979545205https://leetcode.com/problems/min-stack
358171Excel Sheet Column Number55.9%Easy0.2930854047798333https://leetcode.com/problems/excel-sheet-column-number
359377Combination Sum IV45.3%Medium0.2908416327421494https://leetcode.com/problems/combination-sum-iv
36060Permutation Sequence38.4%Hard0.28587071214283233https://leetcode.com/problems/permutation-sequence
361662Maximum Width of Binary Tree41.0%Medium0.2838096534681729https://leetcode.com/problems/maximum-width-of-binary-tree
362382Linked List Random Node52.1%Medium0.2802157173642045https://leetcode.com/problems/linked-list-random-node
363730Count Different Palindromic Subsequences41.8%Hard0.2744368457017603https://leetcode.com/problems/count-different-palindromic-subsequences
364414Third Maximum Number30.5%Easy0.2737911401418798https://leetcode.com/problems/third-maximum-number
365759Employee Free Time66.3%Hard0.27104379818721386https://leetcode.com/problems/employee-free-time
366983Minimum Cost For Tickets60.5%Medium0.26701398643191887https://leetcode.com/problems/minimum-cost-for-tickets
367450Delete Node in a BST43.1%Medium0.2618604317292985https://leetcode.com/problems/delete-node-in-a-bst
368210Course Schedule II40.7%Medium0.26122098917206793https://leetcode.com/problems/course-schedule-ii
369505The Maze II47.7%Medium0.2590886081881086https://leetcode.com/problems/the-maze-ii
370663Equal Tree Partition39.5%Medium0.2578291093020998https://leetcode.com/problems/equal-tree-partition
371234Palindrome Linked List39.3%Easy0.25526989045710297https://leetcode.com/problems/palindrome-linked-list
372446Arithmetic Slices II - Subsequence32.7%Hard0.25416851512733507https://leetcode.com/problems/arithmetic-slices-ii-subsequence
373609Find Duplicate File in System59.5%Medium0.25388017696233983https://leetcode.com/problems/find-duplicate-file-in-system
374168Excel Sheet Column Title31.1%Easy0.24683273722531368https://leetcode.com/problems/excel-sheet-column-title
375307Range Sum Query - Mutable34.6%Medium0.24328779711400658https://leetcode.com/problems/range-sum-query-mutable
376716Max Stack42.6%Easy0.24108416003009112https://leetcode.com/problems/max-stack
377188Best Time to Buy and Sell Stock IV28.0%Hard0.2362134701793093https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
378655Print Binary Tree55.0%Medium0.23545681154756673https://leetcode.com/problems/print-binary-tree
379344Reverse String68.5%Easy0.23528503471044915https://leetcode.com/problems/reverse-string
380654Maximum Binary Tree79.9%Medium0.2271957154126144https://leetcode.com/problems/maximum-binary-tree
381221Maximal Square37.7%Medium0.2218511119038007https://leetcode.com/problems/maximal-square
382159Longest Substring with At Most Two Distinct Characters49.4%Medium0.22148929121818325https://leetcode.com/problems/longest-substring-with-at-most-two-distinct-characters
383241Different Ways to Add Parentheses55.2%Medium0.22096511694444815https://leetcode.com/problems/different-ways-to-add-parentheses
384750Number Of Corner Rectangles66.4%Medium0.22067136216882066https://leetcode.com/problems/number-of-corner-rectangles
385516Longest Palindromic Subsequence53.2%Medium0.2156692799855616https://leetcode.com/problems/longest-palindromic-subsequence
386417Pacific Atlantic Water Flow41.1%Medium0.2125614419836728https://leetcode.com/problems/pacific-atlantic-water-flow
387669Trim a Binary Search Tree63.0%Easy0.21245865121419338https://leetcode.com/problems/trim-a-binary-search-tree
388410Split Array Largest Sum44.5%Hard0.2113090936672069https://leetcode.com/problems/split-array-largest-sum
389261Graph Valid Tree42.2%Medium0.21068350715947268https://leetcode.com/problems/graph-valid-tree
3906ZigZag Conversion36.3%Medium0.21040551802808702https://leetcode.com/problems/zigzag-conversion
391503Next Greater Element II56.5%Medium0.20963047971710957https://leetcode.com/problems/next-greater-element-ii
392312Burst Balloons51.8%Hard0.20921375502735295https://leetcode.com/problems/burst-balloons
3931053Previous Permutation With One Swap48.5%Medium0.20909179785855941https://leetcode.com/problems/previous-permutation-with-one-swap
394315Count of Smaller Numbers After Self41.5%Hard0.20806843787404064https://leetcode.com/problems/count-of-smaller-numbers-after-self
395884Uncommon Words from Two Sentences63.3%Easy0.2078703916939076https://leetcode.com/problems/uncommon-words-from-two-sentences
396290Word Pattern37.0%Easy0.20496634325524304https://leetcode.com/problems/word-pattern
397371Sum of Two Integers50.7%Medium0.20426967106919308https://leetcode.com/problems/sum-of-two-integers
398752Open the Lock51.8%Medium0.20214045265154648https://leetcode.com/problems/open-the-lock
399578Get Highest Answer Rate Question39.3%Medium0.20157261209600713https://leetcode.com/problems/get-highest-answer-rate-question
400714Best Time to Buy and Sell Stock with Transaction Fee54.7%Medium0.19966567025192705https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
401886Possible Bipartition44.2%Medium0.19624555983340192https://leetcode.com/problems/possible-bipartition
402496Next Greater Element I63.8%Easy0.19278708883361578https://leetcode.com/problems/next-greater-element-i
403178Rank Scores45.8%Medium0.18843907402659216https://leetcode.com/problems/rank-scores
404681Next Closest Time45.0%Medium0.18812615225992188https://leetcode.com/problems/next-closest-time
405103Binary Tree Zigzag Level Order Traversal48.3%Medium0.18805467423313033https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
406981Time Based Key-Value Store53.1%Medium0.1844764271644963https://leetcode.com/problems/time-based-key-value-store
407889Construct Binary Tree from Preorder and Postorder Traversal66.2%Medium0.18315872720701828https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
408593Valid Square43.1%Medium0.181905842799192https://leetcode.com/problems/valid-square
409916Word Subsets47.8%Medium0.181583821607415https://leetcode.com/problems/word-subsets
4109Palindrome Number48.4%Easy0.17791287714642806https://leetcode.com/problems/palindrome-number
411130Surrounded Regions28.1%Medium0.17613332483584074https://leetcode.com/problems/surrounded-regions
412328Odd Even Linked List55.7%Medium0.17548836529558792https://leetcode.com/problems/odd-even-linked-list
413843Guess the Word46.1%Hard0.17062551703076334https://leetcode.com/problems/guess-the-word
414413Arithmetic Slices57.9%Medium0.1657221570563033https://leetcode.com/problems/arithmetic-slices
415535Encode and Decode TinyURL79.9%Medium0.15827628732919474https://leetcode.com/problems/encode-and-decode-tinyurl
416106Construct Binary Tree from Inorder and Postorder Traversal47.2%Medium0.1563992524301298https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
417373Find K Pairs with Smallest Sums36.7%Medium0.15386549516826https://leetcode.com/problems/find-k-pairs-with-smallest-sums
418676Implement Magic Dictionary54.5%Medium0.15104025741286586https://leetcode.com/problems/implement-magic-dictionary
419723Candy Crush69.2%Medium0.1475667107409061https://leetcode.com/problems/candy-crush
420113Path Sum II46.7%Medium0.14611171121171676https://leetcode.com/problems/path-sum-ii
42195Unique Binary Search Trees II40.6%Medium0.14236392393156927https://leetcode.com/problems/unique-binary-search-trees-ii
422172Factorial Trailing Zeroes37.8%Easy0.14144572792198667https://leetcode.com/problems/factorial-trailing-zeroes
423176Second Highest Salary31.6%Easy0.1400039071301401https://leetcode.com/problems/second-highest-salary
424250Count Univalue Subtrees52.0%Medium0.13767409129953323https://leetcode.com/problems/count-univalue-subtrees
4251209Remove All Adjacent Duplicates in String II56.9%Medium0.13712574822724946https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string-ii
4261043Partition Array for Maximum Sum65.2%Medium0.13636827395972229https://leetcode.com/problems/partition-array-for-maximum-sum
427204Count Primes31.5%Easy0.13428518935681233https://leetcode.com/problems/count-primes
428100Same Tree53.4%Easy0.1318171127859705https://leetcode.com/problems/same-tree
429226Invert Binary Tree65.0%Easy0.12934562157317617https://leetcode.com/problems/invert-binary-tree
430274H-Index36.1%Medium0.12827809724117692https://leetcode.com/problems/h-index
431338Counting Bits69.5%Medium0.12580669538551648https://leetcode.com/problems/counting-bits
432461Hamming Distance72.8%Easy0.12570469475928556https://leetcode.com/problems/hamming-distance
4331146Snapshot Array37.0%Medium0.12154546954921416https://leetcode.com/problems/snapshot-array
434572Subtree of Another Tree44.1%Easy0.12110558833260582https://leetcode.com/problems/subtree-of-another-tree
435222Count Complete Tree Nodes46.8%Medium0.119584908524332https://leetcode.com/problems/count-complete-tree-nodes
436848Shifting Letters44.6%Medium0.11918851726511835https://leetcode.com/problems/shifting-letters
4371439Find the Kth Smallest Sum of a Matrix With Sorted Rows59.5%Hard0.11918851726511835https://leetcode.com/problems/find-the-kth-smallest-sum-of-a-matrix-with-sorted-rows
438179Largest Number28.8%Medium0.11836460008103292https://leetcode.com/problems/largest-number
439525Contiguous Array42.8%Medium0.11750591219610916https://leetcode.com/problems/contiguous-array
440268Missing Number51.7%Easy0.11538834636572094https://leetcode.com/problems/missing-number
4411275Find Winner on a Tic Tac Toe Game52.8%Easy0.11536465479210183https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
44261Rotate List30.0%Medium0.11528615545779625https://leetcode.com/problems/rotate-list
4431047Remove All Adjacent Duplicates In String68.6%Easy0.11181352460393465https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
444265Paint House II44.6%Hard0.1088028598487991https://leetcode.com/problems/paint-house-ii
445792Number of Matching Subsequences47.4%Medium0.10867135530512761https://leetcode.com/problems/number-of-matching-subsequences
446181Employees Earning More Than Their Managers56.9%Easy0.10821358464023274https://leetcode.com/problems/employees-earning-more-than-their-managers
447279Perfect Squares47.4%Medium0.10744168186165087https://leetcode.com/problems/perfect-squares
448966Vowel Spellchecker47.2%Medium0.10676797542570607https://leetcode.com/problems/vowel-spellchecker
44970Climbing Stairs47.8%Easy0.10352088064831867https://leetcode.com/problems/climbing-stairs
450773Sliding Puzzle59.3%Hard0.10294796925244239https://leetcode.com/problems/sliding-puzzle
451118Pascal's Triangle52.5%Easy0.10288539275725785https://leetcode.com/problems/pascals-triangle
4521379Find a Corresponding Node of a Binary Tree in a Clone of That Tree83.8%Medium0.10186917331721722https://leetcode.com/problems/find-a-corresponding-node-of-a-binary-tree-in-a-clone-of-that-tree
4531411Number of Ways to Paint N × 3 Grid61.1%Hard0.10135249426028749https://leetcode.com/problems/number-of-ways-to-paint-n-3-grid
454402Remove K Digits28.4%Medium0.10101435005393304https://leetcode.com/problems/remove-k-digits
455141Linked List Cycle41.1%Easy0.10063328674952829https://leetcode.com/problems/linked-list-cycle
456628Maximum Product of Three Numbers47.1%Easy0.09909090264423091https://leetcode.com/problems/maximum-product-of-three-numbers
4571141User Activity for the Past 30 Days I54.1%Easy0.09646026618756222https://leetcode.com/problems/user-activity-for-the-past-30-days-i
45859Spiral Matrix II53.9%Medium0.09483978737982436https://leetcode.com/problems/spiral-matrix-ii
459821Shortest Distance to a Character66.9%Easy0.09450889771017068https://leetcode.com/problems/shortest-distance-to-a-character
4601062Longest Repeating Substring57.2%Medium0.09201889872025212https://leetcode.com/problems/longest-repeating-substring
4611077Project Employees III75.6%Medium0.0907652093142671https://leetcode.com/problems/project-employees-iii
4621241Number of Comments per Post67.0%Easy0.0891458495182624https://leetcode.com/problems/number-of-comments-per-post
463652Find Duplicate Subtrees50.2%Medium0.08907963005368878https://leetcode.com/problems/find-duplicate-subtrees
464995Minimum Number of K Consecutive Bit Flips46.8%Hard0.08894748601649616https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips
465788Rotated Digits57.1%Easy0.08743429938967429https://leetcode.com/problems/rotated-digits
4661108Defanging an IP Address87.5%Easy0.08632116644802212https://leetcode.com/problems/defanging-an-ip-address
467287Find the Duplicate Number55.5%Medium0.0845834791494423https://leetcode.com/problems/find-the-duplicate-number
4681019Next Greater Node In Linked List57.4%Medium0.08373089291046797https://leetcode.com/problems/next-greater-node-in-linked-list
469550Game Play Analysis IV45.3%Medium0.08286311601350513https://leetcode.com/problems/game-play-analysis-iv
470962Maximum Width Ramp45.4%Medium0.08184524810424337https://leetcode.com/problems/maximum-width-ramp
471698Partition to K Equal Sum Subsets45.0%Medium0.08184524810424337https://leetcode.com/problems/partition-to-k-equal-sum-subsets
472887Super Egg Drop27.1%Hard0.08054440988796595https://leetcode.com/problems/super-egg-drop
473673Number of Longest Increasing Subsequence35.7%Medium0.08025695513016742https://leetcode.com/problems/number-of-longest-increasing-subsequence
4741003Check If Word Is Valid After Substitutions55.3%Medium0.07847161544149522https://leetcode.com/problems/check-if-word-is-valid-after-substitutions
4751254Number of Closed Islands60.5%Medium0.07796154146971186https://leetcode.com/problems/number-of-closed-islands
4761055Shortest Way to Form String56.9%Medium0.07681317776161672https://leetcode.com/problems/shortest-way-to-form-string
477778Swim in Rising Water53.1%Hard0.07651914983419623https://leetcode.com/problems/swim-in-rising-water
478229Majority Element II35.6%Medium0.0741423287407419https://leetcode.com/problems/majority-element-ii
479787Cheapest Flights Within K Stops39.3%Medium0.0732592918006526https://leetcode.com/problems/cheapest-flights-within-k-stops
4801287Element Appearing More Than 25% In Sorted Array60.2%Easy0.07284773254143415https://leetcode.com/problems/element-appearing-more-than-25-in-sorted-array
4811057Campus Bikes57.7%Medium0.07107786641655695https://leetcode.com/problems/campus-bikes
482289Game of Life54.5%Medium0.06756473699960104https://leetcode.com/problems/game-of-life
483997Find the Town Judge50.1%Easy0.06548984513511495https://leetcode.com/problems/find-the-town-judge
484726Number of Atoms49.0%Hard0.06371581438610768https://leetcode.com/problems/number-of-atoms
485509Fibonacci Number67.2%Easy0.06227154155782137https://leetcode.com/problems/fibonacci-number
486472Concatenated Words43.7%Hard0.06120196522807572https://leetcode.com/problems/concatenated-words
487353Design Snake Game34.2%Medium0.06053284922884233https://leetcode.com/problems/design-snake-game
4881445Apples & Oranges87.1%Medium0.05954139369101661https://leetcode.com/problems/apples-oranges
489217Contains Duplicate56.0%Easy0.05910139227591337https://leetcode.com/problems/contains-duplicate
4901305All Elements in Two Binary Search Trees76.1%Medium0.05819353408024827https://leetcode.com/problems/all-elements-in-two-binary-search-trees
491979Distribute Coins in Binary Tree68.9%Medium0.05800594958851697https://leetcode.com/problems/distribute-coins-in-binary-tree
49283Remove Duplicates from Sorted List45.4%Easy0.055776537457411894https://leetcode.com/problems/remove-duplicates-from-sorted-list
493653Two Sum IV - Input is a BST55.5%Easy0.055724721838100025https://leetcode.com/problems/two-sum-iv-input-is-a-bst
494202Happy Number50.4%Easy0.05503451923624455https://leetcode.com/problems/happy-number
495310Minimum Height Trees32.3%Medium0.05423015406086025https://leetcode.com/problems/minimum-height-trees
49667924 Game46.4%Hard0.05341723749698583https://leetcode.com/problems/24-game
497203Remove Linked List Elements38.6%Easy0.04798700179553833https://leetcode.com/problems/remove-linked-list-elements
498205Isomorphic Strings39.8%Easy0.045397866271290506https://leetcode.com/problems/isomorphic-strings
499733Flood Fill55.3%Easy0.04413292021115189https://leetcode.com/problems/flood-fill
5001498Number of Subsequences That Satisfy the Given Sum Condition36.7%Medium0.04334372921647208https://leetcode.com/problems/number-of-subsequences-that-satisfy-the-given-sum-condition
501611Valid Triangle Number48.4%Medium0.04255961441879593https://leetcode.com/problems/valid-triangle-number
5021219Path with Maximum Gold65.1%Medium0.04111576039097048https://leetcode.com/problems/path-with-maximum-gold
503260Single Number III64.3%Medium0.0403019568058018https://leetcode.com/problems/single-number-iii
504739Daily Temperatures63.3%Medium0.03954060923825168https://leetcode.com/problems/daily-temperatures
505406Queue Reconstruction by Height66.9%Medium0.03949613834265583https://leetcode.com/problems/queue-reconstruction-by-height
506706Design HashMap61.3%Easy0.039016652342451774https://leetcode.com/problems/design-hashmap
507872Leaf-Similar Trees64.5%Easy0.03899974309382511https://leetcode.com/problems/leaf-similar-trees
508993Cousins in Binary Tree52.0%Easy0.03876454345024432https://leetcode.com/problems/cousins-in-binary-tree
509337House Robber III50.6%Medium0.03825370795946937https://leetcode.com/problems/house-robber-iii
510905Sort Array By Parity74.1%Easy0.03787434929243582https://leetcode.com/problems/sort-array-by-parity
5111031Maximum Sum of Two Non-Overlapping Subarrays57.9%Medium0.03711000965123125https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
512646Maximum Length of Pair Chain51.9%Medium0.036870535808327706https://leetcode.com/problems/maximum-length-of-pair-chain
513376Wiggle Subsequence39.6%Medium0.03666771919188123https://leetcode.com/problems/wiggle-subsequence
51496Unique Binary Search Trees52.9%Medium0.036467121912812143https://leetcode.com/problems/unique-binary-search-trees
515701Insert into a Binary Search Tree77.7%Medium0.03459222693591465https://leetcode.com/problems/insert-into-a-binary-search-tree
516309Best Time to Buy and Sell Stock with Cooldown47.4%Medium0.034362822747185016https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
5171360Number of Days Between Two Dates48.8%Easy0.03401688527825427https://leetcode.com/problems/number-of-days-between-two-dates
518154Find Minimum in Rotated Sorted Array II41.6%Hard0.033505725418712703https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
51980Remove Duplicates from Sorted Array II44.0%Medium0.03303052567648182https://leetcode.com/problems/remove-duplicates-from-sorted-array-ii
520832Flipping an Image76.2%Easy0.03267078228954871https://leetcode.com/problems/flipping-an-image
521605Can Place Flowers31.6%Easy0.02457126073050533https://leetcode.com/problems/can-place-flowers
52264Minimum Path Sum54.5%Medium0.024287775531756203https://leetcode.com/problems/minimum-path-sum
5231137N-th Tribonacci Number55.9%Easy0.02072613051711693https://leetcode.com/problems/n-th-tribonacci-number
524237Delete Node in a Linked List63.8%Easy0.020421896704473325https://leetcode.com/problems/delete-node-in-a-linked-list
5251266Minimum Time Visiting All Points79.6%Easy0.017354014693151613https://leetcode.com/problems/minimum-time-visiting-all-points
5261021Remove Outermost Parentheses78.0%Easy0.016434223613379935https://leetcode.com/problems/remove-outermost-parentheses
527771Jewels and Stones86.4%Easy0.01631653312373806https://leetcode.com/problems/jewels-and-stones
5281304Find N Unique Integers Sum up to Zero76.3%Easy0.015892269319508656https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
529404Sum of Left Leaves50.9%Easy0.013981353230340547https://leetcode.com/problems/sum-of-left-leaves
530451Sort Characters By Frequency63.0%Medium0.013153757558740521https://leetcode.com/problems/sort-characters-by-frequency
5311143Longest Common Subsequence58.4%Medium0.008835931134362285https://leetcode.com/problems/longest-common-subsequence
532763Partition Labels76.1%Medium0.008385793376274025https://leetcode.com/problems/partition-labels
5331528Shuffle String86.1%Easy0.006295047716793515https://leetcode.com/problems/shuffle-string
534275H-Index II36.0%Medium0https://leetcode.com/problems/h-index-ii
535745Prefix and Suffix Search34.1%Hard0https://leetcode.com/problems/prefix-and-suffix-search
536764Largest Plus Sign46.0%Medium0https://leetcode.com/problems/largest-plus-sign
537784Letter Case Permutation64.6%Medium0https://leetcode.com/problems/letter-case-permutation
538801Minimum Swaps To Make Sequences Increasing38.9%Medium0https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing
539893Groups of Special-Equivalent Strings66.5%Easy0https://leetcode.com/problems/groups-of-special-equivalent-strings
540968Binary Tree Cameras37.5%Hard0https://leetcode.com/problems/binary-tree-cameras
541989Add to Array-Form of Integer44.2%Easy0https://leetcode.com/problems/add-to-array-form-of-integer
542998Maximum Binary Tree II63.0%Medium0https://leetcode.com/problems/maximum-binary-tree-ii
5431033Moving Stones Until Consecutive41.7%Easy0https://leetcode.com/problems/moving-stones-until-consecutive
5441040Moving Stones Until Consecutive II52.9%Medium0https://leetcode.com/problems/moving-stones-until-consecutive-ii
5451075Project Employees I64.8%Easy0https://leetcode.com/problems/project-employees-i
5461076Project Employees II53.7%Easy0https://leetcode.com/problems/project-employees-ii
5471361Validate Binary Tree Nodes48.5%Medium0https://leetcode.com/problems/validate-binary-tree-nodes
5481211Queries Quality and Percentage68.3%Easy0https://leetcode.com/problems/queries-quality-and-percentage
5491225Report Contiguous Dates61.1%Hard0https://leetcode.com/problems/report-contiguous-dates
5501236Web Crawler64.3%Medium0https://leetcode.com/problems/web-crawler
5511322Ads Performance57.8%Easy0https://leetcode.com/problems/ads-performance
5521357Apply Discount Every n Orders66.0%Medium0https://leetcode.com/problems/apply-discount-every-n-orders
5531398Customers Who Bought Products A and B but Not C80.7%Medium0https://leetcode.com/problems/customers-who-bought-products-a-and-b-but-not-c
5541443Minimum Time to Collect All Apples in a Tree55.4%Medium0https://leetcode.com/problems/minimum-time-to-collect-all-apples-in-a-tree
5551460Make Two Arrays Equal by Reversing Sub-arrays73.9%Easy0https://leetcode.com/problems/make-two-arrays-equal-by-reversing-sub-arrays
5561453Maximum Number of Darts Inside of a Circular Dartboard33.7%Hard0https://leetcode.com/problems/maximum-number-of-darts-inside-of-a-circular-dartboard
5571522Diameter of N-Ary Tree70.0%Medium0https://leetcode.com/problems/diameter-of-n-ary-tree