InterviewBit Academy is now Scaler!
InterviewBit Academy is now Scaler Academy!
# Problem Code Type Topic Companies Average Time Score
1 Different Bits Sum Pairwise code Bit Manipulation
48:10 300
2 Divide Integers code Bit Manipulation 61:23 250
3 Min XOR value code Bit Manipulation 37:24 200
4 Number of 1 Bits code Bit Manipulation 8:47 200
5 Reverse Bits code Bit Manipulation 23:38 225
6 Single Number code Bit Manipulation 11:52 275
7 Single Number II code Bit Manipulation 38:24 275
8 Another chocolate game code Codersbit
39:43 200
9 Array and Prime Divisors code Codersbit
24:17 150
10 Delete and Conquer code Codersbit
12:30 150
11 Distinct Primes code Codersbit
51:36 150
12 EZPZ code Codersbit
37:19 200
13 Going back to OS objective Codersbit
14:33 30
14 Longest Subarray Difference code Codersbit
61:59 200
15 MinimiZe code Codersbit
30:28 200
16 Prime Subarrays code Codersbit
26:00 150
17 Scores code Codersbit
66:07 200
18 Shortest Path in Simple Graph objective Codersbit
4:06 30
19 Smallest Subarray code Codersbit
34:39 250
20 The Sequence game code Codersbit
25:37 200
21 The square game code Codersbit
8:42 200
22 Three Numbers code Codersbit
45:06 200
23 Try some SQL objective Codersbit
10:00 30
24 Very Hard Queries code Codersbit
63:40 200
25 Vowels code Codersbit
56:07 250
26 City Tour code Math
53:19 300
27 Excel Column Number code Math 23:19 175
28 Excel Column Title code Math 40:44 175
29 FizzBuzz code Math
12:28 200
30 Greatest Common Divisor code Math 10:57 200
31 Grid Unique Paths code Math 32:35 375
32 Largest Coprime Divisor code Math
47:07 250
33 Numbers of length N and value less than K code Math
83:52 200
34 Palindrome Integer code Math
HCL
17:28 200
35 Power Of Two Integers code Math 39:28 250
36 Prime Sum code Math 43:15 150
37 Rearrange Array code Math
49:03 250
38 Reverse integer code Math 28:33 200
39 Sorted Permutation Rank code Math 72:59 250
40 Sorted Permutation Rank with Repeats code Math 60:59 500
41 Sum of pairwise Hamming Distance code Math
63:32 200
42 Trailing Zeros in Factorial code Math 18:55 250
43 Lines in a given range shell Basic Shell Commands
30:38 200
44 Remove Punctuations shell Basic Shell Commands
13:57 250
45 Transform CSV shell Basic Shell Commands
21:48 300
46 Valid phone number shell Basic Shell Commands
22:50 150
47 Matrix Search code Binary Search
36:42 250
48 Median of Array code Binary Search 78:29 325
49 Search for a Range code Binary Search
41:47 250
50 Square Root of Integer code Binary Search 40:32 275
51 Implement Power Function code Binary Search
59:39 275
52 Rotated Sorted Array Search code Binary Search 56:33 325
53 Sorted Insert Position code Binary Search
24:44 250
54 Allocate Books code Binary Search
62:53 350
55 Painter's Partition Problem code Binary Search 75:39 350
56 Matrix Median code Binary Search 71:10 225
57 2 Sum code Hashing 48:10 300
58 4 Sum code Hashing 64:54 325
59 Anagrams code Hashing 45:27 350
60 Colorful Number code Hashing 43:25 150
61 Copy List code Hashing 51:27 450
62 Diffk II code Hashing
27:54 375
63 Equal code Hashing
66:59 350
64 Fraction code Hashing 75:23 450
65 Largest Continuous Sequence Zero Sum code Hashing
64:19 200
66 Longest Substring Without Repeat code Hashing 49:01 350
67 Points on the Straight Line code Hashing 70:32 450
68 Substring Concatenation code Hashing
67:17 1000
69 Valid Sudoku code Hashing 47:03 325
70 Window String code Hashing 73:10 350
71 Convert Integer To Roman Number shell Regex and Functions
29:54 400
72 Sort by Frequency shell Regex and Functions
37:50 250
73 Swap Forward And Backward Slash shell Regex and Functions
14:12 200
74 Valid Email Address shell Regex and Functions
30:59 350
75 Design Cache subjective Storage Scalability 40:00 200
76 Highly Available Database subjective Storage Scalability 50:00 400
77 Highly Consistent Database subjective Storage Scalability
50:00 400
78 Sharding a Database subjective Storage Scalability 35:00 200
79 Distinct Numbers in Window code Heaps And Maps 37:49 600
80 LRU Cache code Heaps And Maps 69:22 1000
81 Magician and Chocolates code Heaps And Maps
40:12 250
82 Merge K Sorted Lists code Heaps And Maps 41:56 600
83 N max pair combinations code Heaps And Maps 70:37 200
84 Ways to form Max Heap code Heaps And Maps 67:40 200
85 Add One To Number code Arrays
43:43 225
86 Anti Diagonals code Arrays 41:11 225
87 Find Duplicate in Array code Arrays 40:13 450
88 Find Permutation code Arrays 52:30 300
89 First Missing Integer code Arrays 64:38 300
90 Flip code Arrays 77:36 400
91 Hotel Bookings Possible code Arrays 65:11 225
92 Kth Row of Pascal's Triangle code Arrays
28:30 225
93 Largest Number code Arrays 70:26 225
94 Max Distance code Arrays 67:38 250
95 Max Non Negative SubArray code Arrays
57:45 150
96 Max Sum Contiguous Subarray code Arrays 33:39 225
97 Maximum Absolute Difference code Arrays 65:51 250
98 Maximum Consecutive Gap code Arrays 55:38 450
99 Maximum Unsorted Subarray code Arrays 65:54 250
100 MAXSPPROD code Arrays
83:36 200
101 Merge Intervals code Arrays
78:57 225
102 Merge Overlapping Intervals code Arrays 47:59 225
103 Min Steps in Infinite Grid code Arrays 37:51 150
104 N/3 Repeat Number code Arrays
66:19 600
105 Next Permutation code Arrays 61:25 300
106 Noble Integer code Arrays
43:21 200
107 Pascal Triangle code Arrays 26:46 225
108 Repeat and Missing Number Array code Arrays 63:55 350
109 Rotate Matrix code Arrays 60:12 300
110 Set Matrix Zeros code Arrays 48:04 300
111 Simple Queries code Arrays
75:47 300
112 Spiral Order Matrix II code Arrays 48:30 225
113 Triplets with Sum between given range code Arrays
65:33 200
114 Wave Array code Arrays 22:08 225
115 Actors and their Movies sql SQL Programming
30:30 100
116 Movie Character sql SQL Programming
29:35 100
117 Neutral Reviewers sql SQL Programming
22:37 100
118 Short Films sql SQL Programming
25:40 100
119 3 Sum code Two Pointers 59:17 225
120 3 Sum Zero code Two Pointers
51:43 225
121 Array 3 Pointers code Two Pointers
50:45 400
122 Container With Most Water code Two Pointers 46:34 400
123 Counting Triangles code Two Pointers
58:38 225
124 Diffk code Two Pointers
28:51 300
125 Intersection Of Sorted Arrays code Two Pointers
18:18 225
126 Max Continuous Series of 1s code Two Pointers 73:54 300
127 Merge Two Sorted Lists II code Two Pointers 25:04 200
128 Minimize the absolute difference code Two Pointers
59:05 200
129 Remove Duplicates from Sorted Array code Two Pointers 31:32 250
130 Remove Duplicates from Sorted Array II code Two Pointers 32:11 250
131 Remove Element from Array code Two Pointers 28:00 250
132 Sort by Color code Two Pointers
22:42 325
133 Add Two Numbers as Lists code Linked Lists 42:44 250
134 Insertion Sort List code Linked Lists
45:56 300
135 K reverse linked list code Linked Lists 56:58 200
136 List Cycle code Linked Lists 39:06 600
137 Merge Two Sorted Lists code Linked Lists 28:57 300
138 Palindrome List code Linked Lists 46:56 200
139 Partition List code Linked Lists
47:37 275
140 Remove Duplicates from Sorted List code Linked Lists 17:58 300
141 Remove Duplicates from Sorted List II code Linked Lists 56:09 300
142 Remove Nth Node from List End code Linked Lists 27:17 350
143 Reorder List code Linked Lists 56:04 600
144 Reverse Link List II code Linked Lists 57:11 450
145 Rotate List code Linked Lists 33:17 350
146 Sort List code Linked Lists
54:22 350
147 Swap List Nodes in pairs code Linked Lists 32:46 350
148 All Unique Permutations code Backtracking
48:33 200
149 Combination Sum code Backtracking 58:48 300
150 Combination Sum II code Backtracking 39:07 300
151 Combinations code Backtracking 43:59 300
152 Generate all Parentheses II code Backtracking
50:04 350
153 Gray Code code Backtracking
54:29 350
154 Kth Permutation Sequence code Backtracking 67:28 350
155 Letter Phone code Backtracking 51:24 250
156 NQueens code Backtracking 69:31 550
157 Palindrome Partitioning code Backtracking 63:47 300
158 Permutations code Backtracking 38:13 350
159 Subset code Backtracking 59:49 250
160 Subsets II code Backtracking 37:55 300
161 Sudoku code Backtracking 62:02 700
162 100 People in a Circle objective Puzzles
11:52 40
163 Ants on a Triangle objective Puzzles
4:51 40
164 Arrange Cubes objective Puzzles
16:14 40
165 Bee Travel objective Puzzles
8:19 40
166 Blindfolded Coin Toss objective Puzzles
3:26 40
167 Breaking Chocolate Bars objective Puzzles
5:10 40
168 Cats and a Square objective Puzzles
7:53 40
169 Celebrity Problem objective Puzzles
8:52 40
170 Color of the Bear objective Puzzles
3:33 40
171 Color of the last ball objective Puzzles
5:15 40
172 Color of the last ball II objective Puzzles
3:18 40
173 Cross the Bridge objective Puzzles
8:51 40
174 Cross the Bridge II objective Puzzles
5:40 40
175 Daughters' Ages objective Puzzles
12:24 40
176 Dinner Hand Shakes objective Puzzles
7:12 40
177 Divide Gold Bar objective Puzzles 5:55 40
178 Divide the Cake objective Puzzles
3:03 40
179 Eggs and Building objective Puzzles 13:12 40
180 Equilateral Triangles using Toothpicks objective Puzzles
6:01 40
181 Fake Note objective Puzzles
5:26 40
182 Fastest Horses objective Puzzles
7:11 40
183 Find the Defective Ball objective Puzzles
6:28 40
184 Find the Defective Ball II objective Puzzles
2:56 40
185 Gates of Heaven objective Puzzles
8:02 40
186 Genie and Hats objective Puzzles
7:29 40
187 Good Processor objective Puzzles
7:59 40
188 Helium Balloon objective Puzzles
1:55 40
189 Jelly Beans Jars objective Puzzles
7:31 40
190 Last Palindromic Date objective Puzzles
11:07 40
191 Light Switches in the Cellar objective Puzzles 2:54 40
192 Make a Statement objective Puzzles 4:20 40
193 Marbles in Jar objective Puzzles
11:06 40
194 Measure Milk by Cans objective Puzzles 15:09 40
195 Measure Time by Burning Ropes objective Puzzles
6:52 40
196 Measure Time by Hourglass objective Puzzles
9:05 40
197 Medicine Chest on a Boat objective Puzzles
9:07 40
198 Min Elevator Trips objective Puzzles
20:10 40
199 Monkeys and Doors objective Puzzles 11:10 40
200 Next Number objective Puzzles
17:32 40
201 Next Number II objective Puzzles 3:08 40
202 One Mile on the Globe objective Puzzles
7:44 40
203 Prisoners and Poison objective Puzzles 17:24 40
204 Quarters on a Table objective Puzzles
5:04 40
205 Ratio of Boys and Girls objective Puzzles
14:54 40
206 Six Colored Cubes objective Puzzles
13:17 40
207 Spider's Web objective Puzzles 3:41 40
208 Spinning Disc's Direction objective Puzzles
6:56 40
209 Ten Black and White Socks objective Puzzles
4:15 40
210 The Tribe objective Puzzles 6:07 40
211 Train Station objective Puzzles
18:32 40
212 Two Numbers objective Puzzles
12:13 40
213 Two Pills each day objective Puzzles
3:25 40
214 Wizards and Drawves objective Puzzles
12:47 40
215 World Trips objective Puzzles
9:25 40
216 2-Sum Binary Tree code Tree Data Structure 59:30 400
217 Balanced Binary Tree code Tree Data Structure 30:02 275
218 Binary Tree From Inorder And Postorder code Tree Data Structure 46:26 375
219 BST Iterator code Tree Data Structure 38:13 500
220 Construct Binary Tree From Inorder And Preorder code Tree Data Structure 42:51 375
221 Flatten Binary Tree to Linked List code Tree Data Structure 41:32 500
222 Hotel Reviews code Tree Data Structure 67:59 200
223 Identical Binary Trees code Tree Data Structure 11:34 300
224 Inorder Traversal code Tree Data Structure 31:54 350
225 Inorder Traversal of Cartesian Tree code Tree Data Structure 47:18 300
226 Invert the Binary Tree code Tree Data Structure
12:34 300
227 Kth Smallest Element In Tree code Tree Data Structure 28:34 300
228 Least Common Ancestor code Tree Data Structure 55:59 450
229 Max Depth of Binary Tree code Tree Data Structure 6:55 350
230 Min Depth of Binary Tree code Tree Data Structure 16:59 350
231 Order of People Heights code Tree Data Structure
68:08 700
232 Path Sum code Tree Data Structure 26:51 350
233 Populate Next Right Pointers Tree code Tree Data Structure 48:10 900
234 Postorder Traversal code Tree Data Structure 30:45 350
235 Preorder Traversal code Tree Data Structure 15:04 350
236 Recover Binary Search Tree code Tree Data Structure 57:36 750
237 Root to Leaf Paths With Sum code Tree Data Structure 39:39 350
238 Shortest Unique Prefix code Tree Data Structure
65:23 350
239 Sorted Array To Balanced BST code Tree Data Structure 27:38 300
240 Sum Root to Leaf Numbers code Tree Data Structure
43:29 350
241 Symmetric Binary Tree code Tree Data Structure 21:26 300
242 ZigZag Level Order Traversal BT code Tree Data Structure 41:23 350
243 Add Binary Strings code Strings
39:32 300
244 Amazing Subarrays code Strings
25:19 150
245 Atoi code Strings 51:20 250
246 Compare Version Numbers code Strings 62:55 225
247 Count And Say code Strings 42:16 250
248 Implement StrStr code Strings 33:09 225
249 Integer To Roman code Strings 40:03 250
250 Justified Text code Strings
70:47 300
251 Length of Last Word code Strings 17:54 225
252 Longest Common Prefix code Strings
27:42 225
253 Longest Palindromic Substring code Strings 57:41 500
254 Minimum Characters required to make a String Palindromic code Strings 62:27 200
255 Multiply Strings code Strings
59:53 375
256 Palindrome String code Strings
30:40 150
257 Power of 2 code Strings 59:07 350
258 Pretty Json code Strings
59:13 400
259 Reverse the String code Strings 36:30 250
260 Roman To Integer code Strings 32:38 250
261 Stringoholics code Strings
68:43 300
262 Valid Ip Addresses code Strings 60:27 250
263 Valid Number code Strings 55:32 250
264 Zigzag String code Strings
51:01 300
265 Design Messenger subjective System Design Interview Questions 41:40 600
266 Design Search Typeahead subjective System Design Interview Questions
53:20 400
267 Design Twitter subjective System Design Interview Questions 38:20 600
268 Design URL Shortener subjective System Design Interview Questions 45:00 300
269 Black Shapes code Graph Data Structure & Algorithms 46:08 300
270 Capture Regions on Board code Graph Data Structure & Algorithms
59:25 500
271 Clone Graph code Graph Data Structure & Algorithms 51:25 500
272 Commutable Islands code Graph Data Structure & Algorithms 62:47 200
273 Convert Sorted List to Binary Search Tree code Graph Data Structure & Algorithms
40:04 300
274 Knight On Chess Board code Graph Data Structure & Algorithms 59:47 300
275 Largest Distance between nodes of a Tree code Graph Data Structure & Algorithms
66:26 200
276 Level Order code Graph Data Structure & Algorithms 28:41 300
277 Possibility of finishing all courses given pre-requisites code Graph Data Structure & Algorithms 54:40 200
278 Smallest Multiple With 0 and 1 code Graph Data Structure & Algorithms 73:13 300
279 Smallest sequence with given Primes code Graph Data Structure & Algorithms 59:19 200
280 Stepping Numbers code Graph Data Structure & Algorithms 51:42 300
281 Sum Of Fibonacci Numbers code Graph Data Structure & Algorithms
47:53 300
282 Valid Path code Graph Data Structure & Algorithms 74:11 200
283 Word Ladder I code Graph Data Structure & Algorithms 59:05 600
284 Word Ladder II code Graph Data Structure & Algorithms 63:19 800
285 Word Search Board code Graph Data Structure & Algorithms 50:57 500
286 AMORTIZED1 objective Time Complexity
3:03 100
287 CHOOSE1 objective Time Complexity
1:43 50
288 CHOOSE2 objective Time Complexity
2:23 80
289 CHOOSE3 objective Time Complexity
1:39 50
290 CHOOSE4 objective Time Complexity
0:57 50
291 GCD_CMPL objective Time Complexity
4:13 150
292 LOOP_CMPL objective Time Complexity
2:43 20
293 LOOP_CMPL2 objective Time Complexity
2:43 80
294 NESTED_CMPL objective Time Complexity
1:10 20
295 NESTED_CMPL2 objective Time Complexity
1:25 30
296 NESTED_CMPL3 objective Time Complexity
3:56 80
297 REC_CMPL1 objective Time Complexity
6:58 80
298 REC_CMPL2 objective Time Complexity
6:25 80
299 REC_CMPL3 objective Time Complexity
4:39 150
300 WHILE_CMPL objective Time Complexity
1:31 50
301 Longest Increasing Subsequence code Dynamic Programming 29:32 300
302 Max Rectangle in Binary Matrix code Dynamic Programming
71:29 350
303 Distinct Subsequences code Dynamic Programming
57:14 325
304 Unique Paths in a Grid code Dynamic Programming
31:08 300
305 Max Product Subarray code Dynamic Programming 60:31 300
306 Ways to Decode code Dynamic Programming 67:10 225
307 Best Time to Buy and Sell Stocks II code Dynamic Programming 37:43 225
308 Best Time to Buy and Sell Stocks III code Dynamic Programming 55:24 700
309 Scramble String code Dynamic Programming
54:05 500
310 Best Time to Buy and Sell Stocks I code Dynamic Programming 27:00 300
311 Max Sum Path in Binary Tree code Dynamic Programming 50:56 400
312 Regular Expression Match code Dynamic Programming
62:23 500
313 Dungeon Princess code Dynamic Programming
59:39 300
314 Palindrome Partitioning II code Dynamic Programming 53:44 400
315 Min Sum Path in Matrix code Dynamic Programming 29:18 300
316 Min Jumps Array code Dynamic Programming 66:24 300
317 Edit Distance code Dynamic Programming 44:26 300
318 Unique Binary Search Trees II code Dynamic Programming 32:25 400
319 Word Break code Dynamic Programming
IBM
57:53 400
320 Regular Expression II code Dynamic Programming
59:36 500
321 Min Sum Path in Triangle code Dynamic Programming
40:06 300
322 Jump Game Array code Dynamic Programming 39:23 225
323 Interleaving Strings code Dynamic Programming
54:08 500
324 Word Break II code Dynamic Programming
IBM
56:59 350
325 Longest valid Parentheses code Dynamic Programming
53:55 700
326 Stairs code Dynamic Programming 14:59 225
327 Max Sum Without Adjacent Elements code Dynamic Programming 54:35 225
328 Repeating Sub-Sequence code Dynamic Programming
58:58 300
329 Evaluate Expression To True code Dynamic Programming 66:48 350
330 Coins in a Line code Dynamic Programming
56:33 300
331 Arrange II code Dynamic Programming 68:02 350
332 Equal Average Partition code Dynamic Programming 82:21 350
333 Coin Sum Infinite code Dynamic Programming
59:27 225
334 Rod Cutting code Dynamic Programming
76:34 350
335 Intersecting Chords in a Circle code Dynamic Programming
63:43 300
336 Count Permutations of BST code Dynamic Programming
74:31 400
337 Queen Attack code Dynamic Programming
72:54 350
338 Longest Arithmetic Progression code Dynamic Programming
65:31 200
339 Sub Matrices with sum Zero code Dynamic Programming
69:43 200
340 N digit numbers with digit sum S code Dynamic Programming
64:13 200
341 Length of Longest Subsequence code Dynamic Programming
62:58 200
342 Shortest common superstring code Dynamic Programming
68:11 200
343 Flip Array code Dynamic Programming
78:01 200
344 Ways to color a 3xN Board code Dynamic Programming 56:03 200
345 Tushar's Birthday Bombs code Dynamic Programming
74:04 200
346 Tushar's Birthday Party code Dynamic Programming 58:46 200
347 Kth Manhattan Distance Neighbourhood code Dynamic Programming 61:01 200
348 Largest area of rectangle with permutations code Dynamic Programming 64:48 200
349 Kingdom War code Dynamic Programming
51:57 200
350 Evaluate Expression code Stacks And Queues
32:30 400
351 Largest Rectangle in Histogram code Stacks And Queues 62:56 450
352 Min Stack code Stacks And Queues 42:55 400
353 Nearest Smaller Element code Stacks And Queues 41:24 350
354 Rain Water Trapped code Stacks And Queues 56:50 400
355 Redundant Braces code Stacks And Queues 42:10 300
356 Simplify Directory Path code Stacks And Queues
52:11 250
357 Sliding Window Maximum code Stacks And Queues 65:55 450
358 Assign Mice to Holes code Greedy Algorithm 20:18 300
359 Bulbs code Greedy Algorithm
21:58 200
360 Distribute Candy code Greedy Algorithm 60:24 300
361 Gas Station code Greedy Algorithm 53:45 700
362 Highest Product code Greedy Algorithm 28:17 200
363 Majority Element code Greedy Algorithm 18:37 400
364 Seats code Greedy Algorithm 68:26 300