Skip to content

Instantly share code, notes, and snippets.

@carefree-ladka
Last active February 16, 2025 11:47
Show Gist options
  • Save carefree-ladka/ba245dfb4d9edecc726f45c0dbafab44 to your computer and use it in GitHub Desktop.
Save carefree-ladka/ba245dfb4d9edecc726f45c0dbafab44 to your computer and use it in GitHub Desktop.
Amazon.html
30 days
1. Two Sum
54.9%
Easy
146. LRU Cache
44.3%
Med.
200. Number of Islands
61.4%
Med.
767. Reorganize String
55.7%
Med.
2357. Make Array Zero by Subtracting Equal Amounts
72.9%
Easy
3. Longest Substring Without Repeating Characters
36.2%
Med.
23. Merge k Sorted Lists
55.6%
Hard
207. Course Schedule
48.4%
Med.
49. Group Anagrams
70.2%
Med.
210. Course Schedule II
52.5%
Med.
15. 3Sum
36.3%
Med.
42. Trapping Rain Water
64.1%
Hard
56. Merge Intervals
48.7%
Med.
238. Product of Array Except Self
67.3%
Med.
347. Top K Frequent Elements
64.0%
Med.
53. Maximum Subarray
51.7%
Med.
55. Jump Game
39.1%
Med.
88. Merge Sorted Array
52.1%
Easy
121. Best Time to Buy and Sell Stock
54.7%
Easy
2214. Minimum Health to Beat Game
58.0%
Med.
5. Longest Palindromic Substring
35.2%
Med.
227. Basic Calculator II
45.1%
Med.
295. Find Median from Data Stream
52.9%
Hard
2. Add Two Numbers
45.3%
Med.
4. Median of Two Sorted Arrays
42.8%
Hard
26. Remove Duplicates from Sorted Array
59.2%
Easy
33. Search in Rotated Sorted Array
42.2%
Med.
70. Climbing Stairs
53.3%
Easy
79. Word Search
44.5%
Med.
1152. Analyze User Website Visit Pattern
43.2%
Med.
102. Binary Tree Level Order Traversal
69.7%
Med.
127. Word Ladder
41.7%
Hard
128. Longest Consecutive Sequence
47.2%
Med.
2667. Create Hello World Function
81.8%
Easy
1768. Merge Strings Alternately
81.7%
Easy
3371. Identify the Largest Outlier in an Array
31.7%
Med.
994. Rotting Oranges
55.9%
Med.
14. Longest Common Prefix
44.8%
Easy
20. Valid Parentheses
41.7%
Easy
22. Generate Parentheses
76.4%
Med.
39. Combination Sum
73.8%
Med.
41. First Missing Positive
40.5%
Hard
560. Subarray Sum Equals K
44.8%
Med.
50. Pow(x, n)
36.4%
Med.
138. Copy List with Random Pointer
59.3%
Med.
198. House Robber
51.9%
Med.
199. Binary Tree Right Side View
65.3%
Med.
215. Kth Largest Element in an Array
67.5%
Med.
735. Asteroid Collision
45.0%
Med.
239. Sliding Window Maximum
47.2%
Hard
1757. Recyclable and Low Fat Products
89.4%
Easy
907. Sum of Subarray Minimums
37.3%
Med.
11. Container With Most Water
57.0%
Med.
1004. Max Consecutive Ones III
65.1%
Med.
45. Jump Game II
41.1%
Med.
48. Rotate Image
77.0%
Med.
75. Sort Colors
66.2%
Med.
148. Sort List
60.7%
Med.
169. Majority Element
65.5%
Easy
230. Kth Smallest Element in a BST
74.6%
Med.
253. Meeting Rooms II
51.9%
Med.
1650. Lowest Common Ancestor of a Binary Tree III
81.8%
Med.
2193. Minimum Number of Moves to Make Palindrome
51.8%
Hard
3174. Clear Digits
82.7%
Easy
378. Kth Smallest Element in a Sorted Matrix
63.2%
Med.
875. Koko Eating Bananas
48.8%
Med.
528. Random Pick with Weight
48.1%
Med.
407. Trapping Rain Water II
58.6%
Hard
909. Snakes and Ladders
43.9%
Med.
2355. Maximum Number of Books You Can Take
39.4%
Hard
1910. Remove All Occurrences of a Substring
78.0%
Med.
496. Next Greater Element I
73.8%
Easy
509. Fibonacci Number
72.4%
Easy
6. Zigzag Conversion
50.6%
Med.
9. Palindrome Number
58.5%
Easy
10. Regular Expression Matching
28.9%
Hard
25. Reverse Nodes in k-Group
61.8%
Hard
543. Diameter of Binary Tree
62.6%
Easy
32. Longest Valid Parentheses
35.5%
Hard
36. Valid Sudoku
61.5%
Med.
1492. The kth Factor of n
69.2%
Med.
61. Rotate List
39.3%
Med.
63. Unique Paths II
42.7%
Med.
71. Simplify Path
46.3%
Med.
78. Subsets
80.1%
Med.
101. Symmetric Tree
58.5%
Easy
103. Binary Tree Zigzag Level Order Traversal
60.9%
Med.
2055. Plates Between Candles
46.0%
Med.
122. Best Time to Buy and Sell Stock II
68.7%
Med.
124. Binary Tree Maximum Path Sum
40.8%
Hard
131. Palindrome Partitioning
71.2%
Med.
139. Word Break
47.8%
Med.
653. Two Sum IV - Input is a BST
61.9%
Easy
150. Evaluate Reverse Polish Notation
53.9%
Med.
153. Find Minimum in Rotated Sorted Array
52.1%
Med.
155. Min Stack
55.8%
Med.
208. Implement Trie (Prefix Tree)
67.3%
Med.
219. Contains Duplicate II
47.9%
Easy
2149. Rearrange Array Elements by Sign
84.1%
Med.
1642. Furthest Building You Can Reach
50.1%
Med.
2683. Neighboring Bitwise XOR
80.4%
Med.
232. Implement Queue using Stacks
67.6%
Easy
236. Lowest Common Ancestor of a Binary Tree
65.5%
Med.
283. Move Zeroes
62.5%
Easy
787. Cheapest Flights Within K Stops
40.0%
Med.
322. Coin Change
45.7%
Med.
329. Longest Increasing Path in a Matrix
54.8%
Hard
344. Reverse String
79.5%
Easy
3160. Find the Number of Distinct Colors Among the Balls
54.3%
Med.
863. All Nodes Distance K in Binary Tree
65.8%
Med.
410. Split Array Largest Sum
57.3%
Hard
1345. Jump Game IV
46.1%
Hard
2342. Max Sum of a Pair With Equal Sum of Digits
66.0%
Med.
443. String Compression
57.1%
Med.
450. Delete Node in a BST
52.5%
Med.
451. Sort Characters By Frequency
73.6%
Med.
962. Maximum Width Ramp
55.6%
Med.
981. Time Based Key-Value Store
49.3%
Med.
992. Subarrays with K Different Integers
65.0%
Hard
525. Contiguous Array
48.9%
Med.
993. Cousins in Binary Tree
57.6%
Easy
17. Letter Combinations of a Phone Number
62.9%
Med.
1000. Minimum Cost to Merge Stones
44.0%
Hard
1462. Course Schedule IV
59.7%
Med.
2870. Minimum Number of Operations to Make Array Empty
61.9%
Med.
2492. Minimum Score of a Path Between Two Cities
57.6%
Med.
27. Remove Element
59.3%
Easy
34. Find First and Last Position of Element in Sorted Array
46.0%
Med.
1011. Capacity To Ship Packages Within D Days
71.3%
Med.
1478. Allocate Mailboxes
55.6%
Hard
2517. Maximum Tastiness of Candy Basket
65.3%
Med.
43. Multiply Strings
41.7%
Med.
44. Wildcard Matching
29.3%
Hard
47. Permutations II
60.9%
Med.
54. Spiral Matrix
52.7%
Med.
51. N-Queens
71.5%
Hard
564. Find the Closest Palindrome
31.6%
Hard
62. Unique Paths
65.3%
Med.
64. Minimum Path Sum
65.7%
Med.
12. Integer to Roman
67.7%
Med.
69. Sqrt(x)
39.9%
Easy
73. Set Matrix Zeroes
58.8%
Med.
81. Search in Rotated Sorted Array II
38.5%
Med.
84. Largest Rectangle in Histogram
46.5%
Hard
94. Binary Tree Inorder Traversal
77.9%
Easy
19. Remove Nth Node From End of List
47.9%
Med.
99. Recover Binary Search Tree
55.4%
Med.
1166. Design File System
63.7%
Med.
108. Convert Sorted Array to Binary Search Tree
73.4%
Easy
1438. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
56.7%
Med.
116. Populating Next Right Pointers in Each Node
64.7%
Med.
118. Pascal's Triangle
76.3%
Easy
1071. Greatest Common Divisor of Strings
52.4%
Easy
136. Single Number
75.2%
Easy
140. Word Break II
52.8%
Hard
2948. Make Lexicographically Smallest Array by Swapping Elements
60.4%
Med.
1091. Shortest Path in Binary Matrix
49.1%
Med.
152. Maximum Product Subarray
34.5%
Med.
3429. Paint House IV
45.1%
Med.
179. Largest Number
40.8%
Med.
694. Number of Distinct Islands
61.9%
Med.
3026. Maximum Good Subarray Sum
19.9%
Med.
1287. Element Appearing More Than 25% In Sorted Array
61.0%
Easy
713. Subarray Product Less Than K
52.3%
Med.
719. Find K-th Smallest Pair Distance
45.6%
Hard
209. Minimum Size Subarray Sum
48.6%
Med.
721. Accounts Merge
58.8%
Med.
212. Word Search II
37.0%
Hard
2134. Minimum Swaps to Group All 1's Together II
65.6%
Med.
211. Design Add and Search Words Data Structure
46.6%
Med.
733. Flood Fill
65.7%
Easy
224. Basic Calculator
44.7%
Hard
234. Palindrome Linked List
55.0%
Easy
752. Open the Lock
60.6%
Med.
242. Valid Anagram
66.0%
Easy
3066. Minimum Operations to Exceed Threshold Value II
45.7%
Med.
768. Max Chunks To Make Sorted II
54.0%
Hard
769. Max Chunks To Make Sorted
63.9%
Med.
1944. Number of Visible People in a Queue
70.4%
Hard
1209. Remove All Adjacent Duplicates in String II
59.0%
Med.
300. Longest Increasing Subsequence
57.1%
Med.
706. Design HashMap
65.7%
Easy
2772. Apply Operations to Make All Array Elements Equal to Zero
32.9%
Med.
328. Odd Even Linked List
61.8%
Med.
332. Reconstruct Itinerary
43.4%
Hard
2235. Add Two Integers
88.1%
Easy
3104. Find Longest Self-Contained Substring
58.1%
Hard
827. Making A Large Island
54.1%
Hard
355. Design Twitter
41.5%
Med.
2790. Maximum Number of Groups With Increasing Length
20.2%
Hard
1267. Count Servers that Communicate
73.5%
Med.
1762. Buildings With an Ocean View
80.4%
Med.
380. Insert Delete GetRandom O(1)
54.9%
Med.
2347. Best Poker Hand
61.0%
Easy
387. First Unique Character in a String
63.1%
Easy
871. Minimum Number of Refueling Stops
40.4%
Hard
2364. Count Number of Bad Pairs
54.4%
Med.
402. Remove K Digits
34.4%
Med.
412. Fizz Buzz
73.8%
Easy
2385. Amount of Time for Binary Tree to Be Infected
63.1%
Med.
1344. Angle Between Hands of a Clock
64.1%
Med.
424. Longest Repeating Character Replacement
56.3%
Med.
460. LFU Cache
45.7%
Hard
1368. Minimum Cost to Make at Least One Valid Path in a Grid
70.9%
Hard
472. Concatenated Words
49.3%
Hard
1383. Maximum Performance of a Team
47.6%
Hard
480. Sliding Window Median
38.7%
Hard
485. Max Consecutive Ones
61.6%
Easy
959. Regions Cut By Slashes
77.8%
Med.
968. Binary Tree Cameras
47.0%
Hard
498. Diagonal Traverse
62.3%
Med.
973. K Closest Points to Origin
67.5%
Med.
504. Base 7
51.4%
Easy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment