Files
LeetCode-Questions-CompanyWise/amazon_1year.csv
2020-08-11 20:28:09 +05:30

69 KiB

1937Reorder Data in Log Files54.3%Easy3.9944355947998136https://leetcode.com/problems/reorder-data-in-log-files
21192Critical Connections in a Network48.6%Hard3.925598813161921https://leetcode.com/problems/critical-connections-in-a-network
3200Number of Islands46.8%Medium3.7781578407565197https://leetcode.com/problems/number-of-islands
4994Rotting Oranges49.2%Medium3.6307168683511186https://leetcode.com/problems/rotting-oranges
5819Most Common Word44.8%Easy3.4832758959457175https://leetcode.com/problems/most-common-word
6138Copy List with Random Pointer36.4%Medium3.452672602379887https://leetcode.com/problems/copy-list-with-random-pointer
7763Partition Labels76.1%Medium3.305231629974486https://leetcode.com/problems/partition-labels
8692Top K Frequent Words51.8%Medium3.256820919958484https://leetcode.com/problems/top-k-frequent-words
9146LRU Cache33.2%Medium3.109379947553083https://leetcode.com/problems/lru-cache
101Two Sum45.6%Easy2.9619389751476817https://leetcode.com/problems/two-sum
11572Subtree of Another Tree44.1%Easy2.945568993322194https://leetcode.com/problems/subtree-of-another-tree
12240Search a 2D Matrix II43.2%Medium2.798128020916793https://leetcode.com/problems/search-a-2d-matrix-ii
135Longest Palindromic Substring29.5%Medium2.7358200747627843https://leetcode.com/problems/longest-palindromic-substring
1421Merge Two Sorted Lists53.5%Easy2.678307039145778https://leetcode.com/problems/merge-two-sorted-lists
15472Concatenated Words43.7%Hard2.636650106787832https://leetcode.com/problems/concatenated-words
16973K Closest Points to Origin63.8%Medium2.6240138122465444https://leetcode.com/problems/k-closest-points-to-origin
1723Merge k Sorted Lists40.2%Hard2.5524109933277668https://leetcode.com/problems/merge-k-sorted-lists
181167Minimum Cost to Connect Sticks62.8%Medium2.423130930639536https://leetcode.com/problems/minimum-cost-to-connect-sticks
19957Prison Cells After N Days40.7%Medium2.42269136604331https://leetcode.com/problems/prison-cells-after-n-days
20295Find Median from Data Stream44.3%Hard2.3279113755186978https://leetcode.com/problems/find-median-from-data-stream
2142Trapping Rain Water48.9%Hard2.204080367616883https://leetcode.com/problems/trapping-rain-water
221152Analyze User Website Visit Pattern43.5%Medium2.1610636126719283https://leetcode.com/problems/analyze-user-website-visit-pattern
231268Search Suggestions System63.2%Medium2.157831912757614https://leetcode.com/problems/search-suggestions-system
24588Design In-Memory File System45.9%Hard2.113625008500926https://leetcode.com/problems/design-in-memory-file-system
25460LFU Cache34.2%Hard2.029678026599572https://leetcode.com/problems/lfu-cache
26297Serialize and Deserialize Binary Tree47.5%Hard1.882237054194171https://leetcode.com/problems/serialize-and-deserialize-binary-tree
27642Design Search Autocomplete System44.7%Hard1.850014447447311https://leetcode.com/problems/design-search-autocomplete-system
28348Design Tic-Tac-Toe54.3%Medium1.8169700410705985https://leetcode.com/problems/design-tic-tac-toe
29127Word Ladder29.6%Medium1.798979717201542https://leetcode.com/problems/word-ladder
30694Number of Distinct Islands56.0%Medium1.6879409739220441https://leetcode.com/problems/number-of-distinct-islands
31212Word Search II34.9%Hard1.679541552723447https://leetcode.com/problems/word-search-ii
32126Word Ladder II22.1%Hard1.6793805521461769https://leetcode.com/problems/word-ladder-ii
33253Meeting Rooms II45.7%Medium1.6660486200337488https://leetcode.com/problems/meeting-rooms-ii
34273Integer to English Words27.1%Hard1.5969629753826686https://leetcode.com/problems/integer-to-english-words
351102Path With Maximum Minimum Value49.2%Medium1.586376093728572https://leetcode.com/problems/path-with-maximum-minimum-value
36866Prime Palindrome24.9%Medium1.5508753832260214https://leetcode.com/problems/prime-palindrome
37380Insert Delete GetRandom O(1)47.5%Medium1.4345204100538291https://leetcode.com/problems/insert-delete-getrandom-o1
381099Two Sum Less Than K60.6%Easy1.374401545094067https://leetcode.com/problems/two-sum-less-than-k
392Add Two Numbers33.9%Medium1.309433027705025https://leetcode.com/problems/add-two-numbers
40121Best Time to Buy and Sell Stock50.5%Easy1.3027850571141735https://leetcode.com/problems/best-time-to-buy-and-sell-stock
4149Group Anagrams56.9%Medium1.2743748777523694https://leetcode.com/problems/group-anagrams
42139Word Break40.1%Medium1.2351186358489528https://leetcode.com/problems/word-break
4320Valid Parentheses39.0%Easy1.1894789144026565https://leetcode.com/problems/valid-parentheses
44863All Nodes Distance K in Binary Tree55.4%Medium1.1822332875060502https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree
451000Minimum Cost to Merge Stones39.8%Hard1.1653622592057065https://leetcode.com/problems/minimum-cost-to-merge-stones
46153Sum26.8%Medium1.1582544171399092https://leetcode.com/problems/3sum
47269Alien Dictionary33.3%Hard1.152241098330318https://leetcode.com/problems/alien-dictionary
48239Sliding Window Maximum43.0%Hard1.1502557728555012https://leetcode.com/problems/sliding-window-maximum
49545Boundary of Binary Tree38.9%Medium1.1251501588677701https://leetcode.com/problems/boundary-of-binary-tree
50909Snakes and Ladders38.4%Medium1.0669891002375975https://leetcode.com/problems/snakes-and-ladders
51733Flood Fill55.3%Easy1.0669060422540164https://leetcode.com/problems/flood-fill
5299Recover Binary Search Tree39.7%Hard1.0625115814692296https://leetcode.com/problems/recover-binary-search-tree
53238Product of Array Except Self60.1%Medium1.0368856026788111https://leetcode.com/problems/product-of-array-except-self
54155Min Stack44.5%Easy1.0332086228823416https://leetcode.com/problems/min-stack
553Longest Substring Without Repeating Characters30.4%Medium0.9915478841688382https://leetcode.com/problems/longest-substring-without-repeating-characters
56490The Maze51.4%Medium0.9467105081323941https://leetcode.com/problems/the-maze
57353Design Snake Game34.2%Medium0.9400316341694208https://leetcode.com/problems/design-snake-game
58322Coin Change35.5%Medium0.930364459085817https://leetcode.com/problems/coin-change
5917Letter Combinations of a Phone Number46.8%Medium0.9202313417131626https://leetcode.com/problems/letter-combinations-of-a-phone-number
60140Word Break II32.6%Hard0.915097284840888https://leetcode.com/problems/word-break-ii
6154Spiral Matrix34.1%Medium0.9117152787807635https://leetcode.com/problems/spiral-matrix
6253Maximum Subarray46.5%Easy0.9028149401651969https://leetcode.com/problems/maximum-subarray
6374Search a 2D Matrix36.5%Medium0.9027789280658293https://leetcode.com/problems/search-a-2d-matrix
6456Merge Intervals39.3%Medium0.8719401675539429https://leetcode.com/problems/merge-intervals
651155Number of Dice Rolls With Target Sum49.0%Medium0.8666032186425704https://leetcode.com/problems/number-of-dice-rolls-with-target-sum
66227Basic Calculator II36.9%Medium0.865227243301703https://leetcode.com/problems/basic-calculator-ii
6733Search in Rotated Sorted Array34.5%Medium0.8584888773941517https://leetcode.com/problems/search-in-rotated-sorted-array
68224Basic Calculator36.8%Hard0.8569364892249722https://leetcode.com/problems/basic-calculator
6912Integer to Roman55.1%Medium0.8496820889352563https://leetcode.com/problems/integer-to-roman
70815Bus Routes42.5%Hard0.8477684486311822https://leetcode.com/problems/bus-routes
71772Basic Calculator III41.3%Hard0.8430873278508602https://leetcode.com/problems/basic-calculator-iii
72706Design HashMap61.3%Easy0.8231356111081237https://leetcode.com/problems/design-hashmap
73981Time Based Key-Value Store53.1%Medium0.8180951326968029https://leetcode.com/problems/time-based-key-value-store
74456132 Pattern28.9%Medium0.8138174114576592https://leetcode.com/problems/132-pattern
75759Employee Free Time66.2%Hard0.8088525092565556https://leetcode.com/problems/employee-free-time
76437Path Sum III47.2%Medium0.7976226188683302https://leetcode.com/problems/path-sum-iii
77503Next Greater Element II56.5%Medium0.7968165955277405https://leetcode.com/problems/next-greater-element-ii
78208Implement Trie (Prefix Tree)49.4%Medium0.7928548865863879https://leetcode.com/problems/implement-trie-prefix-tree
79236Lowest Common Ancestor of a Binary Tree45.7%Medium0.7928508522150108https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-tree
8097Interleaving String31.5%Hard0.7716773297315191https://leetcode.com/problems/interleaving-string
811091Shortest Path in Binary Matrix38.2%Medium0.7689762247924476https://leetcode.com/problems/shortest-path-in-binary-matrix
82173Binary Search Tree Iterator56.6%Medium0.7549245402561885https://leetcode.com/problems/binary-search-tree-iterator
83980Unique Paths III73.3%Hard0.7472144018302211https://leetcode.com/problems/unique-paths-iii
84277Find the Celebrity41.8%Medium0.7348429454547184https://leetcode.com/problems/find-the-celebrity
85496Next Greater Element I63.8%Easy0.7306413849875257https://leetcode.com/problems/next-greater-element-i
86535Encode and Decode TinyURL79.9%Medium0.7284232783609871https://leetcode.com/problems/encode-and-decode-tinyurl
874Median of Two Sorted Arrays29.6%Hard0.7245935911034281https://leetcode.com/problems/median-of-two-sorted-arrays
8845Jump Game II30.6%Hard0.7215178776891609https://leetcode.com/problems/jump-game-ii
89726Number of Atoms49.0%Hard0.7191226669632059https://leetcode.com/problems/number-of-atoms
90211Add and Search Word - Data structure design38.1%Medium0.7175070272224768https://leetcode.com/problems/add-and-search-word-data-structure-design
9164Minimum Path Sum54.5%Medium0.7123229317280146https://leetcode.com/problems/minimum-path-sum
921044Longest Duplicate Substring31.9%Hard0.707512950361979https://leetcode.com/problems/longest-duplicate-substring
93314Binary Tree Vertical Order Traversal45.3%Medium0.7042169874893927https://leetcode.com/problems/binary-tree-vertical-order-traversal
94739Daily Temperatures63.3%Medium0.697297868866036https://leetcode.com/problems/daily-temperatures
95394Decode String50.0%Medium0.6892445361899827https://leetcode.com/problems/decode-string
96323Number of Connected Components in an Undirected Graph56.0%Medium0.6754476034605444https://leetcode.com/problems/number-of-connected-components-in-an-undirected-graph
97449Serialize and Deserialize BST52.0%Medium0.6727822146017972https://leetcode.com/problems/serialize-and-deserialize-bst
98403Frog Jump39.7%Hard0.6655201946784034https://leetcode.com/problems/frog-jump
99143Reorder List37.1%Medium0.6644936178538985https://leetcode.com/problems/reorder-list
10011Container With Most Water50.8%Medium0.6631685190860763https://leetcode.com/problems/container-with-most-water
1011038Binary Search Tree to Greater Sum Tree80.8%Medium0.6563976383512038https://leetcode.com/problems/binary-search-tree-to-greater-sum-tree
102640Solve the Equation42.0%Medium0.648363577932972https://leetcode.com/problems/solve-the-equation
103895Maximum Frequency Stack60.6%Hard0.6397557387655486https://leetcode.com/problems/maximum-frequency-stack
104165Compare Version Numbers27.4%Medium0.6394004632572682https://leetcode.com/problems/compare-version-numbers
105210Course Schedule II40.7%Medium0.6329329320920142https://leetcode.com/problems/course-schedule-ii
10691Decode Ways24.7%Medium0.6216605021582633https://leetcode.com/problems/decode-ways
107767Reorganize String48.7%Medium0.6188332351820143https://leetcode.com/problems/reorganize-string
1081219Path with Maximum Gold65.1%Medium0.6151572787436681https://leetcode.com/problems/path-with-maximum-gold
109543Diameter of Binary Tree48.4%Easy0.6049865380663455https://leetcode.com/problems/diameter-of-binary-tree
110399Evaluate Division51.6%Medium0.6025713727780729https://leetcode.com/problems/evaluate-division
111109Convert Sorted List to Binary Search Tree47.7%Medium0.5978370007556205https://leetcode.com/problems/convert-sorted-list-to-binary-search-tree
1121214Two Sum BSTs67.6%Medium0.5957174923400869https://leetcode.com/problems/two-sum-bsts
113721Accounts Merge48.8%Medium0.5908536653497264https://leetcode.com/problems/accounts-merge
114445Add Two Numbers II54.5%Medium0.5844726602120818https://leetcode.com/problems/add-two-numbers-ii
11555Jump Game34.6%Medium0.5804024133599197https://leetcode.com/problems/jump-game
116317Shortest Distance from All Buildings41.4%Hard0.5785023490481647https://leetcode.com/problems/shortest-distance-from-all-buildings
117362Design Hit Counter63.7%Medium0.5752838074863666https://leetcode.com/problems/design-hit-counter
118634Find the Derangement of An Array40.1%Medium0.5623075796011341https://leetcode.com/problems/find-the-derangement-of-an-array
119987Vertical Order Traversal of a Binary Tree36.6%Medium0.5577804658218486https://leetcode.com/problems/vertical-order-traversal-of-a-binary-tree
120105Construct Binary Tree from Preorder and Inorder Traversal48.8%Medium0.5575777917297663https://leetcode.com/problems/construct-binary-tree-from-preorder-and-inorder-traversal
121289Game of Life54.5%Medium0.552915490474362https://leetcode.com/problems/game-of-life
122489Robot Room Cleaner69.7%Hard0.5479829869763493https://leetcode.com/problems/robot-room-cleaner
123341Flatten Nested List Iterator52.9%Medium0.5461187395622055https://leetcode.com/problems/flatten-nested-list-iterator
12493Restore IP Addresses35.6%Medium0.541488403342866https://leetcode.com/problems/restore-ip-addresses
125207Course Schedule43.1%Medium0.5403433580969076https://leetcode.com/problems/course-schedule
126770Basic Calculator IV48.1%Hard0.538996500732687https://leetcode.com/problems/basic-calculator-iv
127480Sliding Window Median37.2%Hard0.5274955113973754https://leetcode.com/problems/sliding-window-median
12876Minimum Window Substring34.6%Hard0.5242373922767427https://leetcode.com/problems/minimum-window-substring
1291429First Unique Number47.0%Medium0.5239621016713606https://leetcode.com/problems/first-unique-number
130622Design Circular Queue43.7%Medium0.5230167669664014https://leetcode.com/problems/design-circular-queue
131103Binary Tree Zigzag Level Order Traversal48.3%Medium0.5211513032333475https://leetcode.com/problems/binary-tree-zigzag-level-order-traversal
132206Reverse Linked List62.5%Easy0.5170143403889669https://leetcode.com/problems/reverse-linked-list
133215Kth Largest Element in an Array55.4%Medium0.5073003557203055https://leetcode.com/problems/kth-largest-element-in-an-array
134347Top K Frequent Elements61.2%Medium0.504202490273986https://leetcode.com/problems/top-k-frequent-elements
13522Generate Parentheses62.7%Medium0.4881938233057933https://leetcode.com/problems/generate-parentheses
1361236Web Crawler64.3%Medium0.48550781578170077https://leetcode.com/problems/web-crawler
137388Longest Absolute File Path41.8%Medium0.4754236967150748https://leetcode.com/problems/longest-absolute-file-path
138352Data Stream as Disjoint Intervals47.3%Hard0.47516062535545167https://leetcode.com/problems/data-stream-as-disjoint-intervals
139188Best Time to Buy and Sell Stock IV28.0%Hard0.46969134068857316https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iv
140116Populating Next Right Pointers in Each Node45.2%Medium0.4677920544408954https://leetcode.com/problems/populating-next-right-pointers-in-each-node
14136Valid Sudoku48.7%Medium0.46376952253193504https://leetcode.com/problems/valid-sudoku
1421046Last Stone Weight62.2%Easy0.46111558994152596https://leetcode.com/problems/last-stone-weight
14398Validate Binary Search Tree27.8%Medium0.4560506048962707https://leetcode.com/problems/validate-binary-search-tree
14425Reverse Nodes in k-Group42.1%Hard0.4557571315683002https://leetcode.com/problems/reverse-nodes-in-k-group
145465Optimal Account Balancing46.9%Hard0.44746022914476763https://leetcode.com/problems/optimal-account-balancing
146221Maximal Square37.7%Medium0.4439595076531865https://leetcode.com/problems/maximal-square
147124Binary Tree Maximum Path Sum34.3%Hard0.44128780123683403https://leetcode.com/problems/binary-tree-maximum-path-sum
148384Shuffle an Array52.8%Medium0.4403223646462055https://leetcode.com/problems/shuffle-an-array
149564Find the Closest Palindrome19.7%Hard0.43712242797885603https://leetcode.com/problems/find-the-closest-palindrome
15084Largest Rectangle in Histogram35.2%Hard0.42904427702947245https://leetcode.com/problems/largest-rectangle-in-histogram
151737Sentence Similarity II45.8%Medium0.4265185173059967https://leetcode.com/problems/sentence-similarity-ii
152218The Skyline Problem34.6%Hard0.42040668810636345https://leetcode.com/problems/the-skyline-problem
153199Binary Tree Right Side View54.1%Medium0.41496535680316016https://leetcode.com/problems/binary-tree-right-side-view
154997Find the Town Judge50.1%Easy0.41333031719338453https://leetcode.com/problems/find-the-town-judge
15546Permutations63.5%Medium0.41293686083744285https://leetcode.com/problems/permutations
15679Word Search35.6%Medium0.41227293846941043https://leetcode.com/problems/word-search
157735Asteroid Collision41.0%Medium0.4100436801024917https://leetcode.com/problems/asteroid-collision
158675Cut Off Trees for Golf Event34.6%Hard0.40225040958769004https://leetcode.com/problems/cut-off-trees-for-golf-event
159378Kth Smallest Element in a Sorted Matrix54.3%Medium0.4017523534768937https://leetcode.com/problems/kth-smallest-element-in-a-sorted-matrix
1601011Capacity To Ship Packages Within D Days58.1%Medium0.3980529335976609https://leetcode.com/problems/capacity-to-ship-packages-within-d-days
1611335Minimum Difficulty of a Job Schedule57.6%Hard0.3963047387095001https://leetcode.com/problems/minimum-difficulty-of-a-job-schedule
16285Maximal Rectangle37.7%Hard0.3942163955722937https://leetcode.com/problems/maximal-rectangle
1631197Minimum Knight Moves36.1%Medium0.39358878405685155https://leetcode.com/problems/minimum-knight-moves
164688Knight Probability in Chessboard48.9%Medium0.38977851194046487https://leetcode.com/problems/knight-probability-in-chessboard
16557Insert Interval33.5%Hard0.3889321379062142https://leetcode.com/problems/insert-interval
1661215Stepping Numbers41.6%Medium0.3856624808119847https://leetcode.com/problems/stepping-numbers
1671057Campus Bikes57.7%Medium0.3787139017009125https://leetcode.com/problems/campus-bikes
16875Sort Colors47.3%Medium0.3727364556976202https://leetcode.com/problems/sort-colors
169101Symmetric Tree46.8%Easy0.372371993620526https://leetcode.com/problems/symmetric-tree
1701279Traffic Light Controlled Intersection74.3%Easy0.37117603462953225https://leetcode.com/problems/traffic-light-controlled-intersection
171336Palindrome Pairs33.7%Hard0.3591927799310734https://leetcode.com/problems/palindrome-pairs
172556Next Greater Element III31.7%Medium0.3584697395147556https://leetcode.com/problems/next-greater-element-iii
173978Longest Turbulent Subarray46.6%Medium0.3581093214258754https://leetcode.com/problems/longest-turbulent-subarray
1741032Stream of Characters48.3%Hard0.35736199308977074https://leetcode.com/problems/stream-of-characters
175387First Unique Character in a String53.4%Easy0.3502477066068738https://leetcode.com/problems/first-unique-character-in-a-string
176332Reconstruct Itinerary36.7%Medium0.3499348287861282https://leetcode.com/problems/reconstruct-itinerary
177628Maximum Product of Three Numbers47.1%Easy0.3483066942682158https://leetcode.com/problems/maximum-product-of-three-numbers
1781100Find K-Length Substrings With No Repeated Characters72.7%Medium0.3483066942682158https://leetcode.com/problems/find-k-length-substrings-with-no-repeated-characters
17913Roman to Integer55.7%Easy0.34754876247610755https://leetcode.com/problems/roman-to-integer
18039Combination Sum56.1%Medium0.34653485590252786https://leetcode.com/problems/combination-sum
181312Burst Balloons51.8%Hard0.3462131701037017https://leetcode.com/problems/burst-balloons
182529Minesweeper59.1%Medium0.3416302106614813https://leetcode.com/problems/minesweeper
1831130Minimum Cost Tree From Leaf Values66.1%Medium0.33787755363431937https://leetcode.com/problems/minimum-cost-tree-from-leaf-values
184133Clone Graph34.8%Medium0.33670563608545373https://leetcode.com/problems/clone-graph
185287Find the Duplicate Number55.5%Medium0.33544722224040363https://leetcode.com/problems/find-the-duplicate-number
186333Largest BST Subtree35.8%Medium0.32931497055013925https://leetcode.com/problems/largest-bst-subtree
187560Subarray Sum Equals K43.9%Medium0.3271780031910384https://leetcode.com/problems/subarray-sum-equals-k
18832Longest Valid Parentheses28.4%Hard0.3269467909737243https://leetcode.com/problems/longest-valid-parentheses
189794Valid Tic-Tac-Toe State32.6%Medium0.32676342249425205https://leetcode.com/problems/valid-tic-tac-toe-state
190695Max Area of Island62.7%Medium0.32657434158263016https://leetcode.com/problems/max-area-of-island
191518Coin Change 250.2%Medium0.32305590883561364https://leetcode.com/problems/coin-change-2
192901Online Stock Span60.2%Medium0.3225465062722876https://leetcode.com/problems/online-stock-span
193547Friend Circles58.6%Medium0.31641031482435944https://leetcode.com/problems/friend-circles
194135Candy31.6%Hard0.3148768941781284https://leetcode.com/problems/candy
195102Binary Tree Level Order Traversal54.6%Medium0.3108352169668257https://leetcode.com/problems/binary-tree-level-order-traversal
19672Edit Distance44.8%Hard0.30928199098237896https://leetcode.com/problems/edit-distance
19741First Missing Positive32.0%Hard0.3088033158177097https://leetcode.com/problems/first-missing-positive
198185Department Top Three Salaries34.5%Hard0.3067091029533853https://leetcode.com/problems/department-top-three-salaries
19910Regular Expression Matching26.8%Hard0.3026257535192428https://leetcode.com/problems/regular-expression-matching
200205Isomorphic Strings39.8%Easy0.30101800626340847https://leetcode.com/problems/isomorphic-strings
201854K-Similar Strings38.2%Hard0.3001856330111831https://leetcode.com/problems/k-similar-strings
202703Kth Largest Element in a Stream49.7%Easy0.3000268349758617https://leetcode.com/problems/kth-largest-element-in-a-stream
2031244Design A Leaderboard60.7%Medium0.29681946470121906https://leetcode.com/problems/design-a-leaderboard
2041229Meeting Scheduler52.7%Medium0.2955601745092634https://leetcode.com/problems/meeting-scheduler
205134Gas Station38.5%Medium0.29303035974511743https://leetcode.com/problems/gas-station
2061031Maximum Sum of Two Non-Overlapping Subarrays57.9%Medium0.2928670946738281https://leetcode.com/problems/maximum-sum-of-two-non-overlapping-subarrays
2071275Find Winner on a Tic Tac Toe Game52.8%Easy0.2924262358737592https://leetcode.com/problems/find-winner-on-a-tic-tac-toe-game
208261Graph Valid Tree42.2%Medium0.29095999624845137https://leetcode.com/problems/graph-valid-tree
2091166Design File System56.8%Medium0.28978070910870213https://leetcode.com/problems/design-file-system
210417Pacific Atlantic Water Flow41.1%Medium0.2794243872127994https://leetcode.com/problems/pacific-atlantic-water-flow
211410Split Array Largest Sum44.5%Hard0.2778297760087693https://leetcode.com/problems/split-array-largest-sum
2121172Dinner Plate Stacks38.2%Hard0.2711095169699942https://leetcode.com/problems/dinner-plate-stacks
2131120Maximum Average Subtree61.9%Medium0.2694761079552085https://leetcode.com/problems/maximum-average-subtree
214409Longest Palindrome50.3%Easy0.268782121321297https://leetcode.com/problems/longest-palindrome
21519Remove Nth Node From End of List35.2%Medium0.2685901769658948https://leetcode.com/problems/remove-nth-node-from-end-of-list
216426Convert Binary Search Tree to Sorted Doubly Linked List59.1%Medium0.2625527836498761https://leetcode.com/problems/convert-binary-search-tree-to-sorted-doubly-linked-list
217184Sum33.7%Medium0.26175539010512316https://leetcode.com/problems/4sum
2181139Largest 1-Bordered Square47.5%Medium0.26159729523649006https://leetcode.com/problems/largest-1-bordered-square
219300Longest Increasing Subsequence42.6%Medium0.25998614206252363https://leetcode.com/problems/longest-increasing-subsequence
22037Sudoku Solver43.6%Hard0.2578291093020998https://leetcode.com/problems/sudoku-solver
221632Smallest Range Covering Elements from K Lists52.4%Hard0.2574120081490246https://leetcode.com/problems/smallest-range-covering-elements-from-k-lists
222177Nth Highest Salary31.4%Medium0.25708853309999324https://leetcode.com/problems/nth-highest-salary
223315Count of Smaller Numbers After Self41.5%Hard0.2567607594720918https://leetcode.com/problems/count-of-smaller-numbers-after-self
224466Count The Repetitions28.2%Hard0.2561688067457042https://leetcode.com/problems/count-the-repetitions
225286Walls and Gates54.5%Medium0.2531417471996048https://leetcode.com/problems/walls-and-gates
226187Repeated DNA Sequences38.9%Medium0.2529118727100632https://leetcode.com/problems/repeated-dna-sequences
22748Rotate Image56.7%Medium0.2525907526405108https://leetcode.com/problems/rotate-image
22896Unique Binary Search Trees52.9%Medium0.24754171650095222https://leetcode.com/problems/unique-binary-search-trees
2291066Campus Bikes II54.2%Medium0.24445333790096083https://leetcode.com/problems/campus-bikes-ii
230128Longest Consecutive Sequence45.1%Hard0.24299520815961717https://leetcode.com/problems/longest-consecutive-sequence
231153Find Minimum in Rotated Sorted Array45.1%Medium0.24048987826096146https://leetcode.com/problems/find-minimum-in-rotated-sorted-array
232775Global and Local Inversions42.1%Medium0.23922968906583414https://leetcode.com/problems/global-and-local-inversions
233120Triangle44.2%Medium0.23887525258068545https://leetcode.com/problems/triangle
234176Second Highest Salary31.6%Easy0.2367792886617929https://leetcode.com/problems/second-highest-salary
235296Best Meeting Point57.5%Hard0.23670108287626285https://leetcode.com/problems/best-meeting-point
23651N-Queens46.6%Hard0.2346473757956944https://leetcode.com/problems/n-queens
2371188Design Bounded Blocking Queue70.5%Medium0.23300728083654992https://leetcode.com/problems/design-bounded-blocking-queue
2381094Car Pooling56.7%Medium0.2280495300830642https://leetcode.com/problems/car-pooling
239682Baseball Game63.7%Easy0.22057361810180773https://leetcode.com/problems/baseball-game
24029Divide Two Integers16.4%Medium0.2188530145453416https://leetcode.com/problems/divide-two-integers
2411122Relative Sort Array67.7%Easy0.21796115980722663https://leetcode.com/problems/relative-sort-array
242939Minimum Area Rectangle51.8%Medium0.2169226914391073https://leetcode.com/problems/minimum-area-rectangle
243192Word Frequency25.8%Medium0.21614863444241852https://leetcode.com/problems/word-frequency
244373Find K Pairs with Smallest Sums36.7%Medium0.21472498084861397https://leetcode.com/problems/find-k-pairs-with-smallest-sums
245442Find All Duplicates in an Array67.8%Medium0.21334822899856468https://leetcode.com/problems/find-all-duplicates-in-an-array
246152Maximum Product Subarray31.7%Medium0.21257635189056073https://leetcode.com/problems/maximum-product-subarray
247356Line Reflection31.8%Medium0.2124355370417375https://leetcode.com/problems/line-reflection
248229Majority Element II35.6%Medium0.21162970925187066https://leetcode.com/problems/majority-element-ii
2491135Connecting Cities With Minimum Cost57.5%Medium0.21056476910734964https://leetcode.com/problems/connecting-cities-with-minimum-cost
250117Populating Next Right Pointers in Each Node II39.1%Medium0.20860539286818253https://leetcode.com/problems/populating-next-right-pointers-in-each-node-ii
251169Majority Element58.7%Easy0.2079562741042954https://leetcode.com/problems/majority-element
252123Best Time to Buy and Sell Stock III37.5%Hard0.2064707887143865https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii
2531004Max Consecutive Ones III59.1%Medium0.20643953436639223https://leetcode.com/problems/max-consecutive-ones-iii
254148Sort List42.3%Medium0.20552445387361853https://leetcode.com/problems/sort-list
255179Largest Number28.8%Medium0.20162217031985052https://leetcode.com/problems/largest-number
25654201 Matrix39.8%Medium0.2005882722187499https://leetcode.com/problems/01-matrix
2571143Longest Common Subsequence58.4%Medium0.20038826657183323https://leetcode.com/problems/longest-common-subsequence
25863Unique Paths II34.6%Medium0.19784257168907113https://leetcode.com/problems/unique-paths-ii
259690Employee Importance57.3%Easy0.19768561861869782https://leetcode.com/problems/employee-importance
2601315Sum of Nodes with Even-Valued Grandparent83.5%Medium0.19757677034220278https://leetcode.com/problems/sum-of-nodes-with-even-valued-grandparent
26188Merge Sorted Array39.4%Easy0.19706016197271087https://leetcode.com/problems/merge-sorted-array
26231Next Permutation32.6%Medium0.19579797845713617https://leetcode.com/problems/next-permutation
2631360Number of Days Between Two Dates48.8%Easy0.19578302313828744https://leetcode.com/problems/number-of-days-between-two-dates
264122Best Time to Buy and Sell Stock II57.0%Easy0.19478832555908462https://leetcode.com/problems/best-time-to-buy-and-sell-stock-ii
26573Set Matrix Zeroes43.1%Medium0.19305803523368698https://leetcode.com/problems/set-matrix-zeroes
266272Closest Binary Search Tree Value II50.5%Hard0.1920777317393193https://leetcode.com/problems/closest-binary-search-tree-value-ii
2671198Find Smallest Common Element in All Rows74.9%Medium0.19105523676270922https://leetcode.com/problems/find-smallest-common-element-in-all-rows
268756Pyramid Transition Matrix54.6%Medium0.19105523676270922https://leetcode.com/problems/pyramid-transition-matrix
269678Valid Parenthesis String31.0%Medium0.1879537610768114https://leetcode.com/problems/valid-parenthesis-string
270438Find All Anagrams in a String43.3%Medium0.18564799141482685https://leetcode.com/problems/find-all-anagrams-in-a-string
271262Trips and Users32.7%Hard0.18557888866426112https://leetcode.com/problems/trips-and-users
27271Simplify Path32.6%Medium0.18300438372386543https://leetcode.com/problems/simplify-path
273113Path Sum II46.7%Medium0.181583821607415https://leetcode.com/problems/path-sum-ii
27459Spiral Matrix II53.9%Medium0.1781345304397381https://leetcode.com/problems/spiral-matrix-ii
275473Matchsticks to Square37.7%Medium0.17589066646366422https://leetcode.com/problems/matchsticks-to-square
276230Kth Smallest Element in a BST60.2%Medium0.17586503601879516https://leetcode.com/problems/kth-smallest-element-in-a-bst
277234Palindrome Linked List39.3%Easy0.17561579569700486https://leetcode.com/problems/palindrome-linked-list
278698Partition to K Equal Sum Subsets45.0%Medium0.1755467047088198https://leetcode.com/problems/partition-to-k-equal-sum-subsets
279701Insert into a Binary Search Tree77.7%Medium0.17532280369452244https://leetcode.com/problems/insert-into-a-binary-search-tree
280636Exclusive Time of Functions52.0%Medium0.17494800586305592https://leetcode.com/problems/exclusive-time-of-functions
281453Minimum Moves to Equal Array Elements50.2%Easy0.17435338714477774https://leetcode.com/problems/minimum-moves-to-equal-array-elements
282419Battleships in a Board70.0%Medium0.1724841713694404https://leetcode.com/problems/battleships-in-a-board
2838String to Integer (atoi)15.4%Medium0.1707447178638203https://leetcode.com/problems/string-to-integer-atoi
2841430Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree44.8%Medium0.16917873135476025https://leetcode.com/problems/check-if-a-string-is-a-valid-sequence-from-root-to-leaves-path-in-a-binary-tree
285805Split Array With Same Average26.4%Hard0.16635770580494058https://leetcode.com/problems/split-array-with-same-average
286963Minimum Area Rectangle II50.9%Medium0.16635770580494058https://leetcode.com/problems/minimum-area-rectangle-ii
287785Is Graph Bipartite?47.5%Medium0.16618451939098186https://leetcode.com/problems/is-graph-bipartite
288301Remove Invalid Parentheses43.3%Hard0.16424785299136993https://leetcode.com/problems/remove-invalid-parentheses
289715Range Module38.5%Hard0.1636294237818021https://leetcode.com/problems/range-module
290881Boats to Save People46.8%Medium0.16229864091884685https://leetcode.com/problems/boats-to-save-people
291242Valid Anagram56.9%Easy0.1620140669319784https://leetcode.com/problems/valid-anagram
292653Two Sum IV - Input is a BST55.5%Easy0.16169480776777312https://leetcode.com/problems/two-sum-iv-input-is-a-bst
29368Text Justification27.7%Hard0.16143214434637243https://leetcode.com/problems/text-justification
294540Single Element in a Sorted Array57.9%Medium0.16091725953613234https://leetcode.com/problems/single-element-in-a-sorted-array
295716Max Stack42.6%Easy0.16082720489992372https://leetcode.com/problems/max-stack
296150Evaluate Reverse Polish Notation36.3%Medium0.16073798512678014https://leetcode.com/problems/evaluate-reverse-polish-notation
297611Valid Triangle Number48.4%Medium0.1603426500751794https://leetcode.com/problems/valid-triangle-number
2981373Maximum Sum BST in Binary Tree40.2%Hard0.1599143845440084https://leetcode.com/problems/maximum-sum-bst-in-binary-tree
2991010Pairs of Songs With Total Durations Divisible by 6047.4%Easy0.15765117803680806https://leetcode.com/problems/pairs-of-songs-with-total-durations-divisible-by-60
300335Self Crossing28.0%Hard0.15535044001916237https://leetcode.com/problems/self-crossing
301647Palindromic Substrings60.6%Medium0.154673282399905https://leetcode.com/problems/palindromic-substrings
30262Unique Paths54.1%Medium0.15421684583780285https://leetcode.com/problems/unique-paths
3031074Number of Submatrices That Sum to Target60.4%Hard0.1536233927072112https://leetcode.com/problems/number-of-submatrices-that-sum-to-target
304329Longest Increasing Path in a Matrix43.4%Hard0.15294542476994444https://leetcode.com/problems/longest-increasing-path-in-a-matrix
3051084Sales Analysis III54.3%Easy0.15232085315018215https://leetcode.com/problems/sales-analysis-iii
3061242Web Crawler Multithreaded45.9%Medium0.14953173397096375https://leetcode.com/problems/web-crawler-multithreaded
30782Remove Duplicates from Sorted List II36.8%Medium0.1483524778541147https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii
308538Convert BST to Greater Tree55.4%Easy0.14526651855317063https://leetcode.com/problems/convert-bst-to-greater-tree
309270Closest Binary Search Tree Value48.5%Easy0.1444815825552332https://leetcode.com/problems/closest-binary-search-tree-value
310310Minimum Height Trees32.3%Medium0.143926096421159https://leetcode.com/problems/minimum-height-trees
311415Add Strings47.5%Easy0.14343082219506165https://leetcode.com/problems/add-strings
312836Rectangle Overlap48.6%Easy0.14261022668001652https://leetcode.com/problems/rectangle-overlap
313163Sum Closest46.0%Medium0.14234512850929823https://leetcode.com/problems/3sum-closest
3141083Sales Analysis II50.5%Easy0.1417462887434142https://leetcode.com/problems/sales-analysis-ii
315992Subarrays with K Different Integers48.6%Hard0.14045833549672154https://leetcode.com/problems/subarrays-with-k-different-integers
316354Russian Doll Envelopes35.6%Hard0.13850969523609932https://leetcode.com/problems/russian-doll-envelopes
317130Surrounded Regions28.1%Medium0.13754829150296946https://leetcode.com/problems/surrounded-regions
318349Intersection of Two Arrays62.5%Easy0.13745763880299086https://leetcode.com/problems/intersection-of-two-arrays
3191161Maximum Level Sum of a Binary Tree72.2%Medium0.13727657783562877https://leetcode.com/problems/maximum-level-sum-of-a-binary-tree
320340Longest Substring with At Most K Distinct Characters44.1%Hard0.13652366061094043https://leetcode.com/problems/longest-substring-with-at-most-k-distinct-characters
321427Construct Quad Tree61.4%Medium0.13580154115906176https://leetcode.com/problems/construct-quad-tree
3221405Longest Happy String49.0%Medium0.1343297958605471https://leetcode.com/problems/longest-happy-string
323732My Calendar III60.0%Hard0.13397932096347895https://leetcode.com/problems/my-calendar-iii
32486Partition List41.5%Medium0.1338296774887775https://leetcode.com/problems/partition-list
3251007Minimum Domino Rotations For Equal Row50.0%Medium0.1318780442181351https://leetcode.com/problems/minimum-domino-rotations-for-equal-row
326307Range Sum Query - Mutable34.6%Medium0.1314916521599796https://leetcode.com/problems/range-sum-query-mutable
3271002Find Common Characters67.6%Easy0.12972461775871938https://leetcode.com/problems/find-common-characters
3281117Building H2O52.6%Medium0.12796988096337653https://leetcode.com/problems/building-h2o
329528Random Pick with Weight43.9%Medium0.12617342152539626https://leetcode.com/problems/random-pick-with-weight
33078Subsets62.0%Medium0.12486971572185374https://leetcode.com/problems/subsets
331873Length of Longest Fibonacci Subsequence48.0%Medium0.12378418901663191https://leetcode.com/problems/length-of-longest-fibonacci-subsequence
332844Backspace String Compare46.4%Easy0.12201137176590456https://leetcode.com/problems/backspace-string-compare
33392Reverse Linked List II38.8%Medium0.12080664535613118https://leetcode.com/problems/reverse-linked-list-ii
334202Happy Number50.4%Easy0.11982401289364229https://leetcode.com/problems/happy-number
335525Contiguous Array42.8%Medium0.11750591219610916https://leetcode.com/problems/contiguous-array
33644Wildcard Matching24.7%Hard0.11705454991590605https://leetcode.com/problems/wildcard-matching
3376ZigZag Conversion36.3%Medium0.11677183708486526https://leetcode.com/problems/zigzag-conversion
338368Largest Divisible Subset38.0%Medium0.11624101530456815https://leetcode.com/problems/largest-divisible-subset
339268Missing Number51.7%Easy0.11538834636572094https://leetcode.com/problems/missing-number
340283Move Zeroes57.8%Easy0.11518710330017225https://leetcode.com/problems/move-zeroes
3411375Bulb Switcher III62.6%Medium0.11506932978478719https://leetcode.com/problems/bulb-switcher-iii
342339Nested List Weight Sum74.0%Easy0.11351649636962678https://leetcode.com/problems/nested-list-weight-sum
343451Sort Characters By Frequency63.0%Medium0.11258362132121401https://leetcode.com/problems/sort-characters-by-frequency
344787Cheapest Flights Within K Stops39.3%Medium0.11222526033403632https://leetcode.com/problems/cheapest-flights-within-k-stops
3451008Construct Binary Search Tree from Preorder Traversal78.4%Medium0.11004936619718413https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal
346181Employees Earning More Than Their Managers56.9%Easy0.10821358464023274https://leetcode.com/problems/employees-earning-more-than-their-managers
347321Create Maximum Number27.0%Hard0.10821358464023274https://leetcode.com/problems/create-maximum-number
348509Fibonacci Number67.2%Easy0.1081586674964596https://leetcode.com/problems/fibonacci-number
349969Pancake Sorting67.5%Medium0.10724553035359762https://leetcode.com/problems/pancake-sorting
350966Vowel Spellchecker47.2%Medium0.10676797542570607https://leetcode.com/problems/vowel-spellchecker
3511153String Transforms Into Another String35.8%Hard0.10623186692973738https://leetcode.com/problems/string-transforms-into-another-string
352498Diagonal Traverse48.2%Medium0.10598924878133596https://leetcode.com/problems/diagonal-traverse
353112Path Sum41.2%Easy0.10531937947649221https://leetcode.com/problems/path-sum
354407Trapping Rain Water II42.4%Hard0.10486899438963619https://leetcode.com/problems/trapping-rain-water-ii
3551013Partition Array Into Three Parts With Equal Sum51.8%Easy0.10294796925244239https://leetcode.com/problems/partition-array-into-three-parts-with-equal-sum
356986Interval List Intersections67.3%Medium0.10288907161978299https://leetcode.com/problems/interval-list-intersections
357337House Robber III50.6%Medium0.10284435451079782https://leetcode.com/problems/house-robber-iii
358402Remove K Digits28.4%Medium0.10101435005393304https://leetcode.com/problems/remove-k-digits
359264Ugly Number II42.0%Medium0.09988890602718599https://leetcode.com/problems/ugly-number-ii
360843Guess the Word46.1%Hard0.09952959534703311https://leetcode.com/problems/guess-the-word
3611162As Far from Land as Possible43.5%Medium0.09876441467241241https://leetcode.com/problems/as-far-from-land-as-possible
3621202Smallest String With Swaps46.5%Medium0.09740053011838201https://leetcode.com/problems/smallest-string-with-swaps
363849Maximize Distance to Closest Person42.6%Easy0.09669362480247104https://leetcode.com/problems/maximize-distance-to-closest-person
364235Lowest Common Ancestor of a Binary Search Tree49.9%Easy0.09628480221531907https://leetcode.com/problems/lowest-common-ancestor-of-a-binary-search-tree
36514Longest Common Prefix35.4%Easy0.09586181640315415https://leetcode.com/problems/longest-common-prefix
366390Elimination Game44.5%Medium0.09576690509200843https://leetcode.com/problems/elimination-game
367579Find Cumulative Salary of an Employee37.0%Hard0.0955379961853079https://leetcode.com/problems/find-cumulative-salary-of-an-employee
368983Minimum Cost For Tickets60.5%Medium0.09525339549949145https://leetcode.com/problems/minimum-cost-for-tickets
369233Number of Digit One31.3%Hard0.09463320809845266https://leetcode.com/problems/number-of-digit-one
370463Island Perimeter65.7%Easy0.0943601559822778https://leetcode.com/problems/island-perimeter
371132Palindrome Partitioning II30.2%Hard0.0943539685775445https://leetcode.com/problems/palindrome-partitioning-ii
372827Making A Large Island45.7%Hard0.09287412500644375https://leetcode.com/problems/making-a-large-island
37370Climbing Stairs47.8%Easy0.09222789908966633https://leetcode.com/problems/climbing-stairs
3741062Longest Repeating Substring57.2%Medium0.09201889872025212https://leetcode.com/problems/longest-repeating-substring
375430Flatten a Multilevel Doubly Linked List55.1%Medium0.09115618648618105https://leetcode.com/problems/flatten-a-multilevel-doubly-linked-list
376252Meeting Rooms54.6%Easy0.09020195522698488https://leetcode.com/problems/meeting-rooms
377516Longest Palindromic Subsequence53.2%Medium0.08985926725218181https://leetcode.com/problems/longest-palindromic-subsequence
378243Shortest Word Distance61.0%Easy0.08952296190665864https://leetcode.com/problems/shortest-word-distance
379652Find Duplicate Subtrees50.2%Medium0.08907963005368878https://leetcode.com/problems/find-duplicate-subtrees
380995Minimum Number of K Consecutive Bit Flips46.8%Hard0.08894748601649616https://leetcode.com/problems/minimum-number-of-k-consecutive-bit-flips
381686Repeated String Match32.3%Easy0.08751937801655657https://leetcode.com/problems/repeated-string-match
382285Inorder Successor in BST40.4%Medium0.08649364464568089https://leetcode.com/problems/inorder-successor-in-bst
3831247Minimum Swaps to Make Strings Equal60.1%Medium0.08626034428440695https://leetcode.com/problems/minimum-swaps-to-make-strings-equal
38461Rotate List30.0%Medium0.08597176778902096https://leetcode.com/problems/rotate-list
385916Word Subsets47.8%Medium0.08479653666007693https://leetcode.com/problems/word-subsets
386443String Compression41.3%Easy0.08391368024915737https://leetcode.com/problems/string-compression
387131Palindrome Partitioning47.5%Medium0.08388550716227433https://leetcode.com/problems/palindrome-partitioning
3881019Next Greater Node In Linked List57.4%Medium0.08373089291046797https://leetcode.com/problems/next-greater-node-in-linked-list
3891245Tree Diameter60.1%Medium0.08338160893905106https://leetcode.com/problems/tree-diameter
390110Balanced Binary Tree43.5%Easy0.0828596109446498https://leetcode.com/problems/balanced-binary-tree
39134Find First and Last Position of Element in Sorted Array36.2%Medium0.08268327002043342https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array
392359Logger Rate Limiter70.8%Easy0.08167803101426718https://leetcode.com/problems/logger-rate-limiter
39394Binary Tree Inorder Traversal63.3%Medium0.08067588488738961https://leetcode.com/problems/binary-tree-inorder-traversal
394581Shortest Unsorted Continuous Subarray31.1%Easy0.08061081614588511https://leetcode.com/problems/shortest-unsorted-continuous-subarray
395350Intersection of Two Arrays II51.4%Easy0.08027374155116185https://leetcode.com/problems/intersection-of-two-arrays-ii
396729My Calendar I51.8%Medium0.0801854119192299https://leetcode.com/problems/my-calendar-i
397279Perfect Squares47.4%Medium0.08004270767353643https://leetcode.com/problems/perfect-squares
3981249Minimum Remove to Make Valid Parentheses62.5%Medium0.07986504044378952https://leetcode.com/problems/minimum-remove-to-make-valid-parentheses
399161One Edit Distance32.3%Medium0.07982960165248484https://leetcode.com/problems/one-edit-distance
400875Koko Eating Bananas52.1%Medium0.07919704166119315https://leetcode.com/problems/koko-eating-bananas
4011047Remove All Adjacent Duplicates In String68.6%Easy0.0789551324793932https://leetcode.com/problems/remove-all-adjacent-duplicates-in-string
40269Sqrt(x)33.9%Easy0.07866461906091221https://leetcode.com/problems/sqrtx
4031254Number of Closed Islands60.5%Medium0.07796154146971186https://leetcode.com/problems/number-of-closed-islands
4041104Path In Zigzag Labelled Binary Tree72.0%Medium0.07786032177227234https://leetcode.com/problems/path-in-zigzag-labelled-binary-tree
4051024Video Stitching49.2%Medium0.07710947515747849https://leetcode.com/problems/video-stitching
406129Sum Root to Leaf Numbers49.1%Medium0.07707974254287937https://leetcode.com/problems/sum-root-to-leaf-numbers
407852Peak Index in a Mountain Array71.6%Easy0.07637297878457401https://leetcode.com/problems/peak-index-in-a-mountain-array
408468Validate IP Address24.1%Medium0.07598590697792203https://leetcode.com/problems/validate-ip-address
409137Single Number II52.4%Medium0.07583984694698977https://leetcode.com/problems/single-number-ii
410214Shortest Palindrome29.8%Hard0.0753494372417868https://leetcode.com/problems/shortest-palindrome
411183Customers Who Never Order53.4%Easy0.07513295051837407https://leetcode.com/problems/customers-who-never-order
412515Find Largest Value in Each Tree Row61.1%Medium0.07428007438287054https://leetcode.com/problems/find-largest-value-in-each-tree-row
413974Subarray Sums Divisible by K48.9%Medium0.07423027387221347https://leetcode.com/problems/subarray-sums-divisible-by-k
4141022Sum of Root To Leaf Binary Numbers67.2%Easy0.07410797215372188https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers
415209Minimum Size Subarray Sum38.2%Medium0.07329286546547308https://leetcode.com/problems/minimum-size-subarray-sum
416184Department Highest Salary36.7%Medium0.07292523990467245https://leetcode.com/problems/department-highest-salary
417539Minimum Time Difference51.5%Medium0.07236429254889504https://leetcode.com/problems/minimum-time-difference
418860Lemonade Change51.6%Easy0.07208884919207953https://leetcode.com/problems/lemonade-change
419351Android Unlock Patterns48.4%Medium0.07197349962508924https://leetcode.com/problems/android-unlock-patterns
420523Continuous Subarray Sum24.6%Medium0.07166389251403688https://leetcode.com/problems/continuous-subarray-sum
42181Search in Rotated Sorted Array II33.0%Medium0.07091146875905202https://leetcode.com/problems/search-in-rotated-sorted-array-ii
422570Managers with at Least 5 Direct Reports66.0%Medium0.07020425867324853https://leetcode.com/problems/managers-with-at-least-5-direct-reports
4231146Snapshot Array37.0%Medium0.07017687679183775https://leetcode.com/problems/snapshot-array
424228Summary Ranges39.5%Medium0.06968763142190673https://leetcode.com/problems/summary-ranges
425136Single Number65.5%Easy0.0693807551554477https://leetcode.com/problems/single-number
42690Subsets II47.1%Medium0.06927977437229342https://leetcode.com/problems/subsets-ii
427432All O`one Data Structure32.4%Hard0.06887402901251127https://leetcode.com/problems/all-oone-data-structure
428284Peeking Iterator45.7%Medium0.06867686579621939https://leetcode.com/problems/peeking-iterator
429141Linked List Cycle41.1%Easy0.06847358948474051https://leetcode.com/problems/linked-list-cycle
4301081Smallest Subsequence of Distinct Characters50.4%Medium0.06840272688440052https://leetcode.com/problems/smallest-subsequence-of-distinct-characters
431232Implement Queue using Stacks49.6%Easy0.06827657958623828https://leetcode.com/problems/implement-queue-using-stacks
432163Missing Ranges24.3%Medium0.06820825002653358https://leetcode.com/problems/missing-ranges
4331060Missing Element in Sorted Array54.5%Medium0.06796670413163937https://leetcode.com/problems/missing-element-in-sorted-array
434993Cousins in Binary Tree52.0%Easy0.06790898756146661https://leetcode.com/problems/cousins-in-binary-tree
435316Remove Duplicate Letters35.8%Hard0.067239661116769https://leetcode.com/problems/remove-duplicate-letters
43650Pow(xn)30.3%Medium0.06647190010502257https://leetcode.com/problems/powx-n
437584Find Customer Referee72.3%Easy0.06592172080482424https://leetcode.com/problems/find-customer-referee
438662Maximum Width of Binary Tree41.0%Medium0.06560589270959301https://leetcode.com/problems/maximum-width-of-binary-tree
439178Rank Scores45.8%Medium0.06551667145414991https://leetcode.com/problems/rank-scores
440226Invert Binary Tree65.0%Easy0.06547015000263501https://leetcode.com/problems/invert-binary-tree
441167Two Sum II - Input array is sorted54.1%Easy0.06546140041370939https://leetcode.com/problems/two-sum-ii-input-array-is-sorted
442298Binary Tree Longest Consecutive Sequence47.1%Medium0.065169635074581https://leetcode.com/problems/binary-tree-longest-consecutive-sequence
4431270All People Report to the Given Manager87.1%Medium0.06412452816953867https://leetcode.com/problems/all-people-report-to-the-given-manager
4441005Maximize Sum Of Array After K Negations51.3%Easy0.06371581438610768https://leetcode.com/problems/maximize-sum-of-array-after-k-negations
445257Binary Tree Paths51.5%Easy0.06363469625372709https://leetcode.com/problems/binary-tree-paths
446702Search in a Sorted Array of Unknown Size66.9%Medium0.06361444899419297https://leetcode.com/problems/search-in-a-sorted-array-of-unknown-size
447299Bulls and Cows42.4%Easy0.0633875522784949https://leetcode.com/problems/bulls-and-cows
448397Integer Replacement32.9%Medium0.06331227941432688https://leetcode.com/problems/integer-replacement
449413Arithmetic Slices57.9%Medium0.06286986221654821https://leetcode.com/problems/arithmetic-slices
4501299Replace Elements with Greatest Element on Right Side75.4%Easy0.06197770027589752https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side
451204Count Primes31.5%Easy0.06191798620391749https://leetcode.com/problems/count-primes
452801Minimum Swaps To Make Sequences Increasing38.9%Medium0.06146327443046864https://leetcode.com/problems/minimum-swaps-to-make-sequences-increasing
453938Range Sum of BST81.3%Easy0.06140035686425664https://leetcode.com/problems/range-sum-of-bst
45428Implement strStr()34.5%Easy0.061298390181781764https://leetcode.com/problems/implement-strstr
455420Strong Password Checker14.0%Hard0.061087691979838175https://leetcode.com/problems/strong-password-checker
456114Flatten Binary Tree to Linked List49.3%Medium0.06042105947476499https://leetcode.com/problems/flatten-binary-tree-to-linked-list
457567Permutation in String44.4%Medium0.05849620668160855https://leetcode.com/problems/permutation-in-string
458160Intersection of Two Linked Lists40.6%Easy0.05844735064567987https://leetcode.com/problems/intersection-of-two-linked-lists
45952N-Queens II57.9%Hard0.058155920157074034https://leetcode.com/problems/n-queens-ii
460164Maximum Gap35.5%Hard0.05790329283155908https://leetcode.com/problems/maximum-gap
4611233Remove Sub-Folders from the Filesystem59.5%Medium0.057076831135436705https://leetcode.com/problems/remove-sub-folders-from-the-filesystem
462106Construct Binary Tree from Inorder and Postorder Traversal47.2%Medium0.05692732601741117https://leetcode.com/problems/construct-binary-tree-from-inorder-and-postorder-traversal
463586Customer Placing the Largest Number of Orders73.0%Easy0.0568334747631659https://leetcode.com/problems/customer-placing-the-largest-number-of-orders
464741Cherry Pickup33.9%Hard0.056512210263342307https://leetcode.com/problems/cherry-pickup
465862Shortest Subarray with Sum at Least K24.6%Hard0.056264838586137754https://leetcode.com/problems/shortest-subarray-with-sum-at-least-k
466541Reverse String II48.4%Easy0.05615948403872344https://leetcode.com/problems/reverse-string-ii
467951Flip Equivalent Binary Trees65.8%Medium0.05598476739954757https://leetcode.com/problems/flip-equivalent-binary-trees
46883Remove Duplicates from Sorted List45.4%Easy0.055776537457411894https://leetcode.com/problems/remove-duplicates-from-sorted-list
469421Maximum XOR of Two Numbers in an Array53.5%Medium0.055569851154810765https://leetcode.com/problems/maximum-xor-of-two-numbers-in-an-array
470366Find Leaves of Binary Tree70.6%Medium0.05526267867504946https://leetcode.com/problems/find-leaves-of-binary-tree
47130Substring with Concatenation of All Words25.4%Hard0.05509349054082484https://leetcode.com/problems/substring-with-concatenation-of-all-words
472149Max Points on a Line16.9%Hard0.0550597771830274https://leetcode.com/problems/max-points-on-a-line
473104Maximum Depth of Binary Tree66.0%Easy0.05499247412856504https://leetcode.com/problems/maximum-depth-of-binary-tree
474222Count Complete Tree Nodes46.8%Medium0.05492114472894792https://leetcode.com/problems/count-complete-tree-nodes
475839Similar String Groups38.6%Hard0.05480823649499502https://leetcode.com/problems/similar-string-groups
476304Range Sum Query 2D - Immutable38.6%Medium0.054527987071175225https://leetcode.com/problems/range-sum-query-2d-immutable
477395Longest Substring with At Least K Repeating Characters41.4%Medium0.05371219359052555https://leetcode.com/problems/longest-substring-with-at-least-k-repeating-characters
478708Insert into a Sorted Circular Linked List31.6%Medium0.05142521180743711https://leetcode.com/problems/insert-into-a-sorted-circular-linked-list
47965Valid Number15.3%Hard0.05071509257901641https://leetcode.com/problems/valid-number
4801339Maximum Product of Splitted Binary Tree37.2%Medium0.05064373281875492https://leetcode.com/problems/maximum-product-of-splitted-binary-tree
481681Next Closest Time45.0%Medium0.05045206096038863https://leetcode.com/problems/next-closest-time
482382Linked List Random Node52.1%Medium0.05045206096038863https://leetcode.com/problems/linked-list-random-node
483743Network Delay Time45.0%Medium0.05002606023684499https://leetcode.com/problems/network-delay-time
484100Same Tree53.4%Easy0.049479328471840896https://leetcode.com/problems/same-tree
485889Construct Binary Tree from Preorder and Postorder Traversal66.2%Medium0.04902942724031861https://leetcode.com/problems/construct-binary-tree-from-preorder-and-postorder-traversal
4861267Count Servers that Communicate57.9%Medium0.04902942724031861https://leetcode.com/problems/count-servers-that-communicate
487189Rotate Array34.7%Easy0.04828048261319787https://leetcode.com/problems/rotate-array
48838Count and Say44.6%Easy0.04795702191135356https://leetcode.com/problems/count-and-say
489841Keys and Rooms64.3%Medium0.04757768320775592https://leetcode.com/problems/keys-and-rooms
490486Predict the Winner47.9%Medium0.047122970130097065https://leetcode.com/problems/predict-the-winner
491977Squares of a Sorted Array72.1%Easy0.046652914831048324https://leetcode.com/problems/squares-of-a-sorted-array
492621Task Scheduler50.1%Medium0.04638413032188776https://leetcode.com/problems/task-scheduler
4931248Count Number of Nice Subarrays56.4%Medium0.04593229889743518https://leetcode.com/problems/count-number-of-nice-subarrays
494609Find Duplicate File in System59.5%Medium0.045205436768046794https://leetcode.com/problems/find-duplicate-file-in-system
495784Letter Case Permutation64.6%Medium0.045030118720867006https://leetcode.com/problems/letter-case-permutation
4961108Defanging an IP Address87.5%Easy0.044971606629326595https://leetcode.com/problems/defanging-an-ip-address
497325Maximum Size Subarray Sum Equals k46.8%Medium0.04495138786226632https://leetcode.com/problems/maximum-size-subarray-sum-equals-k
498180Consecutive Numbers39.7%Medium0.044917730294359005https://leetcode.com/problems/consecutive-numbers
4991382Balance a Binary Search Tree74.8%Medium0.04480032475536626https://leetcode.com/problems/balance-a-binary-search-tree
500412Fizz Buzz62.3%Easy0.04396698989626337https://leetcode.com/problems/fizz-buzz
501435Non-overlapping Intervals42.9%Medium0.04325518123147988https://leetcode.com/problems/non-overlapping-intervals
502559Maximum Depth of N-ary Tree68.7%Easy0.04319159858277399https://leetcode.com/problems/maximum-depth-of-n-ary-tree
503727Minimum Window Subsequence41.8%Hard0.04237922296886145https://leetcode.com/problems/minimum-window-subsequence
504266Palindrome Permutation61.9%Easy0.04158603377810283https://leetcode.com/problems/palindrome-permutation
505507Perfect Number35.5%Easy0.041499730906752734https://leetcode.com/problems/perfect-number
506450Delete Node in a BST43.1%Medium0.041233509462184105https://leetcode.com/problems/delete-node-in-a-bst
507918Maximum Sum Circular Subarray33.7%Medium0.04045040846284272https://leetcode.com/problems/maximum-sum-circular-subarray
508406Queue Reconstruction by Height66.9%Medium0.03949613834265583https://leetcode.com/problems/queue-reconstruction-by-height
509107Binary Tree Level Order Traversal II53.5%Easy0.03948712621281427https://leetcode.com/problems/binary-tree-level-order-traversal-ii
510637Average of Levels in Binary Tree63.1%Easy0.039272062353528786https://leetcode.com/problems/average-of-levels-in-binary-tree
5111049Last Stone Weight II44.2%Medium0.03902934390573525https://leetcode.com/problems/last-stone-weight-ii
512241Different Ways to Add Parentheses55.2%Medium0.03880215185647971https://leetcode.com/problems/different-ways-to-add-parentheses
51324Swap Nodes in Pairs50.4%Medium0.03826607060639552https://leetcode.com/problems/swap-nodes-in-pairs
51447Permutations II46.4%Medium0.038145268259690404https://leetcode.com/problems/permutations-ii
51540Combination Sum II48.2%Medium0.037775974158907266https://leetcode.com/problems/combination-sum-ii
5161110Delete Nodes And Return Forest67.0%Medium0.03698038470938097https://leetcode.com/problems/delete-nodes-and-return-forest
517646Maximum Length of Pair Chain51.9%Medium0.036870535808327706https://leetcode.com/problems/maximum-length-of-pair-chain
518626Exchange Seats62.3%Medium0.03676884778708897https://leetcode.com/problems/exchange-seats
519884Uncommon Words from Two Sentences63.3%Easy0.036301626676214796https://leetcode.com/problems/uncommon-words-from-two-sentences
520250Count Univalue Subtrees52.0%Medium0.036235848454044865https://leetcode.com/problems/count-univalue-subtrees
521334Increasing Triplet Subsequence40.0%Medium0.03577488021091517https://leetcode.com/problems/increasing-triplet-subsequence
522416Partition Equal Subset Sum43.7%Medium0.034301326353463016https://leetcode.com/problems/partition-equal-subset-sum
523217Contains Duplicate56.0%Easy0.03367321510658789https://leetcode.com/problems/contains-duplicate
524912Sort an Array63.9%Medium0.03218010960381167https://leetcode.com/problems/sort-an-array
5251114Print in Order65.7%Easy0.0317486983145803https://leetcode.com/problems/print-in-order
526345Reverse Vowels of a String44.2%Easy0.031112084201956228https://leetcode.com/problems/reverse-vowels-of-a-string
5271179Reformat Department Table80.6%Easy0.030653741091002412https://leetcode.com/problems/reformat-department-table
528557Reverse Words in a String III69.8%Easy0.03063547953861342https://leetcode.com/problems/reverse-words-in-a-string-iii
5291027Longest Arithmetic Sequence53.4%Medium0.03030534949532895https://leetcode.com/problems/longest-arithmetic-sequence
530671Second Minimum Node In a Binary Tree42.7%Easy0.02958795718549609https://leetcode.com/problems/second-minimum-node-in-a-binary-tree
531452Minimum Number of Arrows to Burst Balloons49.6%Medium0.029478921626711667https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons
532344Reverse String68.5%Easy0.029048355159926334https://leetcode.com/problems/reverse-string
53377Combinations54.7%Medium0.028021758737593695https://leetcode.com/problems/combinations
534115Distinct Subsequences38.3%Hard0.027798871362742988https://leetcode.com/problems/distinct-subsequences
535249Group Shifted Strings55.1%Medium0.0276069982440099https://leetcode.com/problems/group-shifted-strings
536796Rotate String49.6%Easy0.02701041988276247https://leetcode.com/problems/rotate-string
537118Pascal's Triangle52.5%Easy0.02673062594465844https://leetcode.com/problems/pascals-triangle
538931Minimum Falling Path Sum62.5%Medium0.02672169681715245https://leetcode.com/problems/minimum-falling-path-sum
539158Read N Characters Given Read4 II - Call multiple times33.8%Hard0.026196651946570663https://leetcode.com/problems/read-n-characters-given-read4-ii-call-multiple-times
5401395Count Number of Teams82.0%Medium0.025462865161248044https://leetcode.com/problems/count-number-of-teams
541162Find Peak Element43.3%Medium0.02516251642407408https://leetcode.com/problems/find-peak-element
542171Excel Sheet Column Number55.9%Easy0.025015200987536713https://leetcode.com/problems/excel-sheet-column-number
543714Best Time to Buy and Sell Stock with Transaction Fee54.7%Medium0.024258315059789946https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee
544704Binary Search52.1%Easy0.02368531774150923https://leetcode.com/problems/binary-search
545429N-ary Tree Level Order Traversal65.0%Medium0.023270392682351006https://leetcode.com/problems/n-ary-tree-level-order-traversal
546198House Robber42.0%Easy0.023256862164267263https://leetcode.com/problems/house-robber
547414Third Maximum Number30.5%Easy0.023155137938555212https://leetcode.com/problems/third-maximum-number
548684Redundant Connection57.4%Medium0.02262539951797868https://leetcode.com/problems/redundant-connection
5491160Find Words That Can Be Formed by Characters67.4%Easy0.02262539951797868https://leetcode.com/problems/find-words-that-can-be-formed-by-characters
5507Reverse Integer25.8%Easy0.022564965520585834https://leetcode.com/problems/reverse-integer
551108Convert Sorted Array to Binary Search Tree57.9%Easy0.022033389270751453https://leetcode.com/problems/convert-sorted-array-to-binary-search-tree
5521520Maximum Number of Non-Overlapping Substrings32.8%Hard0.021485667755491482https://leetcode.com/problems/maximum-number-of-non-overlapping-substrings
553905Sort Array By Parity74.1%Easy0.02148053951675942https://leetcode.com/problems/sort-array-by-parity
554921Minimum Add to Make Parentheses Valid73.7%Medium0.021425565169310254https://leetcode.com/problems/minimum-add-to-make-parentheses-valid
555459Repeated Substring Pattern42.2%Easy0.021402636114384706https://leetcode.com/problems/repeated-substring-pattern
556485Max Consecutive Ones54.6%Easy0.021092266245534258https://leetcode.com/problems/max-consecutive-ones
557654Maximum Binary Tree79.9%Medium0.02060866342778963https://leetcode.com/problems/maximum-binary-tree
55860Permutation Sequence38.4%Hard0.020471543980187256https://leetcode.com/problems/permutation-sequence
55943Multiply Strings33.9%Medium0.020459908965027862https://leetcode.com/problems/multiply-strings
560392Is Subsequence49.2%Easy0.02033508842008217https://leetcode.com/problems/is-subsequence
56167Add Binary45.2%Easy0.020171933774613085https://leetcode.com/problems/add-binary
5621048Longest String Chain54.7%Medium0.019361689049145963https://leetcode.com/problems/longest-string-chain
563674Longest Continuous Increasing Subsequence45.9%Easy0.01900294712561538https://leetcode.com/problems/longest-continuous-increasing-subsequence
5649Palindrome Number48.4%Easy0.018837205580381582https://leetcode.com/problems/palindrome-number
565965Univalued Binary Tree67.7%Easy0.018665964249802672https://leetcode.com/problems/univalued-binary-tree
566290Word Pattern37.0%Easy0.01839978311884168https://leetcode.com/problems/word-pattern
567590N-ary Tree Postorder Traversal72.1%Easy0.018182319083190436https://leetcode.com/problems/n-ary-tree-postorder-traversal
568346Moving Average from Data Stream70.9%Easy0.0176683041333139https://leetcode.com/problems/moving-average-from-data-stream
569953Verifying an Alien Dictionary54.1%Easy0.017654440483007624https://leetcode.com/problems/verifying-an-alien-dictionary
570383Ransom Note53.1%Easy0.017621601349819518https://leetcode.com/problems/ransom-note
571657Robot Return to Origin73.5%Easy0.017505917513614497https://leetcode.com/problems/robot-return-to-origin
5721266Minimum Time Visiting All Points79.6%Easy0.017354014693151613https://leetcode.com/problems/minimum-time-visiting-all-points
573876Middle of the Linked List68.4%Easy0.01707497375257815https://leetcode.com/problems/middle-of-the-linked-list
574389Find the Difference55.3%Easy0.016978336534417868https://leetcode.com/problems/find-the-difference
575145Binary Tree Postorder Traversal55.0%Hard0.01682911820009702https://leetcode.com/problems/binary-tree-postorder-traversal
576771Jewels and Stones86.4%Easy0.01631653312373806https://leetcode.com/problems/jewels-and-stones
5771304Find N Unique Integers Sum up to Zero76.3%Easy0.015892269319508656https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero
578125Valid Palindrome36.7%Easy0.01582781088607703https://leetcode.com/problems/valid-palindrome
579404Sum of Left Leaves50.9%Easy0.013981353230340547https://leetcode.com/problems/sum-of-left-leaves
580724Find Pivot Index44.0%Easy0.013850636933899008https://leetcode.com/problems/find-pivot-index
581151Reverse Words in a String21.9%Medium0.013753273019471011https://leetcode.com/problems/reverse-words-in-a-string
582144Binary Tree Preorder Traversal55.7%Medium0.013667638728663807https://leetcode.com/problems/binary-tree-preorder-traversal
583303Range Sum Query - Immutable44.7%Easy0.013240842236997532https://leetcode.com/problems/range-sum-query-immutable
584665Non-decreasing Array19.5%Easy0.013016779950191773https://leetcode.com/problems/non-decreasing-array
58566Plus One43.0%Easy0.012985087498808112https://leetcode.com/problems/plus-one
586219Contains Duplicate II37.7%Easy0.01276748910345265https://leetcode.com/problems/contains-duplicate-ii
587213House Robber II36.5%Medium0.012654392210497564https://leetcode.com/problems/house-robber-ii
58826Remove Duplicates from Sorted Array45.1%Easy0.012133715163198892https://leetcode.com/problems/remove-duplicates-from-sorted-array
589338Counting Bits69.5%Medium0.01088446119842327https://leetcode.com/problems/counting-bits
5901221Split a String in Balanced Strings83.3%Easy0.008775835172724969https://leetcode.com/problems/split-a-string-in-balanced-strings
591154Find Minimum in Rotated Sorted Array II41.6%Hard0.008482264714858658https://leetcode.com/problems/find-minimum-in-rotated-sorted-array-ii
592461Hamming Distance72.8%Easy0.00833685528906183https://leetcode.com/problems/hamming-distance
593617Merge Two Binary Trees74.1%Easy0.008262802639833214https://leetcode.com/problems/merge-two-binary-trees
594260Single Number III64.3%Medium0.008090659020153698https://leetcode.com/problems/single-number-iii
5951344Angle Between Hands of a Clock61.4%Medium0.007795031188053973https://leetcode.com/problems/angle-between-hands-of-a-clock
596175Combine Two Tables60.8%Easy0.007696786120491369https://leetcode.com/problems/combine-two-tables
597328Odd Even Linked List55.7%Medium0.00764383618585562https://leetcode.com/problems/odd-even-linked-list
5981365How Many Numbers Are Smaller Than the Current Number85.6%Easy0.007109877088701047https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number
599142Linked List Cycle II37.3%Medium0.006564934131150057https://leetcode.com/problems/linked-list-cycle-ii
600203Remove Linked List Elements38.6%Easy0.006479067005887776https://leetcode.com/problems/remove-linked-list-elements
601309Best Time to Buy and Sell Stock with Cooldown47.4%Medium0.006400704591951834https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-cooldown
6021431Kids With the Greatest Number of Candies88.9%Easy0.005927699633275225https://leetcode.com/problems/kids-with-the-greatest-number-of-candies
603237Delete Node in a Linked List63.8%Easy0.005144705881237697https://leetcode.com/problems/delete-node-in-a-linked-list
60435Search Insert Position42.6%Easy0.004646848510375352https://leetcode.com/problems/search-insert-position
605797All Paths From Source to Target77.9%Medium0.0024703569875376783https://leetcode.com/problems/all-paths-from-source-to-target