π«Question List
Amazon InterviewBit Questions
Array
2. Max Sum Contiguous Subarray
6. Repeat and Missing Number Array
7. Merge Overlapping Intervals
10. Largest Number
12. Pascal Triangle
13. Max Distance
14. Wavy Array
15. Next Permutation
16. Min Steps in Infinite Grid
17. Flip
18. Find Permutation
19. Maximum Absolute Difference
Math
28. k-th Permutation
Binary Search
29. Median of Array
31. Rotated Sorted Array Search
32. Matrix Median
33. Capacity To Ship Packages Within B Days
String
34. Implement StrStr
35. Integer to Roman
36. Roman to Integer
38. atoi
41. Longest Palindromic Substring
42. Count And Say
44. Power of 2
46. Bulls and Cows
Bit Manipulation
47. Reverse Bits
48. Single Number
49. Divide Integers β
50. Single Number II β
52. Palindromic Binary Representation
Two Pointers
54. 3 Sum
55. Remove Duplicates from sorted Array
58. Pair With Given Difference
Linked List
60. Rotate List
61. Reorder List
63. Remove Duplicates from Sorted List
65. Remove Nth Node from List End
66. List Cycle
67. Intersection of Linked Lists
69. Palindrome List
74. Even Reverse
Stacks and Queues
77. Largest Rectangle in Histogram
78. Sliding Window Maximum
79. Min Stack
80. Redundant Braces
82. First non-repeating character in a stream of characters
Backtracking
85. Combination Sum
87. NQueens
88. Combinations
89. Subsets II
90. Subset
92. Longest Consecutive Sequence
93. 4 Sum
94. Anagram
95. Points on the Straight Line
96. 2 Sum
97. Valid Sudoku
98. Longest Substring Without Repeat
Heaps And Maps
100. LRU Cache
101. INVERSIONS
102. Distinct Numbers in Window
103. K Largest Elements
Tree Data Structure
104. Inorder Traversal
105. Recover Binary Search Tree
106. Inorder Traversal of Cartesian Tree
108. Construct Binary Tree From Inorder And Preorder
109. Flatten Binary Tree to Linked List
111. Preorder Traversal
112. Binary Tree From Inorder And Postorder
113. Balanced Binary Tree
114. Sorted Array To Balanced BST
116. Postorder Traversal
117. Populate Next Right Pointers Tree
119. BST Iterator
120. ZigZag Level Order Traversal BT
121. Path Sum
124. Root to Leaf Path with Sum
125. Kth Smallest Element in Tree
126. 2-Sum Binary Tree
127. Vertical Order Traversal of Binary Tree
128. Diagonal Traversal
130. Path to Given Node
131. Remove Half Nodes
133. Maximum Edge Removal
134. Burn a Tree
135. Nodes at Distance K
136. Vertical Sum of a Binary Tree
Graph
138. Clone Graph
139. Word Search Board
140. Stepping Numbers
141. Black Shapes
143. Smallest Multiple With 0 and 1
144. Commutable Islands
145. Possibility of finishing all courses given pre-requisites
146. Valid Path
148. Cycle in Undirected Graph
Greedy
149. Majority Element
150. Gas Station
151. Distribute Candy
152. Highest Product
153. Assign Mice to Holes
154. Meeting rooms
Dynamic Programming
155. Ugly Number II
156. Coin Change
Last updated