Skip to content

Amazon

#ProblemSolution
1Two SumRead solution
2Longest Palindromic SubstringRead solution
33SumRead solution
4Merge Two Sorted ListsRead solution
5Merge k Sorted ListsRead solution
6Trapping Rain WaterRead solution
7Group AnagramsRead solution
8Maximum SubarrayRead solution
9Word SearchRead solution
10Binary Tree Zigzag Level Order TraversalRead solution
11Best Time to Buy and Sell StockRead solution
12Word Ladder II—
13Word Ladder—
14Copy List with Random PointerRead solution
15Word BreakRead solution
16Word Break IIRead solution
17LRU CacheRead solution
18Min StackRead solution
19Number of IslandsRead solution
20Course Schedule IIRead solution
21Word Search IIRead solution
22Basic Calculator II—
23Sliding Window MaximumRead solution
24Search a 2D Matrix II—
25Meeting Rooms II—
26Alien Dictionary—
27Integer to English Words—
28Find Median from Data StreamRead solution
29Serialize and Deserialize Binary TreeRead solution
30Design Snake Game—
31Insert Delete GetRandom O 1—
32LFU CacheRead solution
33Concatenated Words—
34Subtree of Another Tree—
35Design In-Memory File System—
36Design Search Autocomplete System—
37Top K Frequent WordsRead solution
38Number of Distinct Islands—
39Partition Labels—
40Most Common WordRead solution
41All Nodes Distance K in Binary Tree—
42Snakes and Ladders—
43Reorder Data in Log Files—
44Prison Cells After N Days—
45K Closest Points to OriginRead solution
46Rotting OrangesRead solution
47Analyze User Website Visit Pattern—
48Minimum Cost to Connect Sticks—
49Critical Connections in a Network—