0% found this document useful (0 votes)
120 views1,661 pages

Leetcode 500 Problems

The document lists the most asked Amazon interview coding questions from LeetCode for the year 2021, categorized by their titles, acceptance rates, and difficulty levels. It includes a variety of problems ranging from easy to medium difficulty, covering topics such as arrays, strings, and binary trees. Each question is accompanied by its acceptance rate, indicating how often it has been solved correctly by users.

Uploaded by

galatbacha1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
120 views1,661 pages

Leetcode 500 Problems

The document lists the most asked Amazon interview coding questions from LeetCode for the year 2021, categorized by their titles, acceptance rates, and difficulty levels. It includes a variety of problems ranging from easy to medium difficulty, covering topics such as arrays, strings, and binary trees. Each question is accompanied by its acceptance rate, indicating how often it has been solved correctly by users.

Uploaded by

galatbacha1
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 1661

LeetCode Premium (Free) , most asked Amazon Interview Coding Questions for the year-2021

Sr.No. # Title Acceptance Difficulty


1 1 Two Sum 47.10% Easy

2 7 Reverse Integer 26.00% Easy

3 9 Palindrome Number 50.50% Easy

4 13 Roman to Integer 57.30% Easy

5 14 Longest Common Prefix 36.70% Easy

6 20 Valid Parentheses 40.20% Easy

7 21 Merge Two Sorted Lists 56.90% Easy

8 26 Remove Duplicates from Sorted Array 47.10% Easy

9 27 Remove Element 49.80% Easy

10 28 Implement strStr() 35.60% Easy

11 35 Search Insert Position 42.90% Easy

12 53 Maximum Subarray 48.10% Easy

13 66 Plus One 42.20% Easy

14 67 Add Binary 47.80% Easy

15 69 Sqrt(x) 35.70% Easy

16 70 Climbing Stairs 49.00% Easy

17 88 Merge Sorted Array 41.10% Easy

18 94 Binary Tree Inorder Traversal 67.00% Easy

19 100 Same Tree 54.40% Easy

20 101 Symmetric Tree 49.00% Easy

21 104 Maximum Depth of Binary Tree 68.90% Easy

22 110 Balanced Binary Tree 45.10% Easy

23 111 Minimum Depth of Binary Tree 40.30% Easy

24 112 Path Sum 43.00% Easy

25 121 Best Time to Buy and Sell Stock 52.10% Easy

26 122 Best Time to Buy and Sell Stock II 59.20% Easy

27 125 Valid Palindrome 39.00% Easy

28 136 Single Number 67.00% Easy

29 141 Linked List Cycle 43.40% Easy

30 144 Binary Tree Preorder Traversal 58.40% Easy

31 145 Binary Tree Postorder Traversal 58.80% Easy

32 155 Min Stack 47.30% Easy

33 160 Intersection of Two Linked Lists 45.40% Easy

34 167 Two Sum II - Input array is sorted 56.10% Easy

35 169 Majority Element 60.60% Easy

36 202 Happy Number 51.60% Easy

37 203 Remove Linked List Elements 39.90% Easy

38 204 Count Primes 32.80% Easy

39 205 Isomorphic Strings 40.80% Easy

40 206 Reverse Linked List 66.40% Easy

41 217 Contains Duplicate 57.40% Easy

42 219 Contains Duplicate II 39.20% Easy

43 225 Implement Stack using Queues 48.50% Easy


44 226 Invert Binary Tree 67.90% Easy

45 232 Implement Queue using Stacks 53.30% Easy

46 234 Palindrome Linked List 42.80% Easy

47 235 Lowest Common Ancestor of a Binary Search Tree 52.70% Easy

48 242 Valid Anagram 59.30% Easy

49 252 Meeting Rooms 55.70% Easy

50 258 Add Digits 59.00% Easy

51 268 Missing Number 56.00% Easy

52 278 First Bad Version 38.30% Easy

53 283 Move Zeroes 58.90% Easy

54 338 Counting Bits 71.00% Easy

55 344 Reverse String 71.20% Easy

56 345 Reverse Vowels of a String 45.50% Easy

57 346 Moving Average from Data Stream 74.10% Easy

58 349 Intersection of Two Arrays 66.00% Easy

59 350 Intersection of Two Arrays II 52.50% Easy

60 383 Ransom Note 53.60% Easy

61 387 First Unique Character in a String 54.40% Easy

62 412 Fizz Buzz 64.20% Easy

63 415 Add Strings 49.10% Easy

64 448 Find All Numbers Disappeared in an Array 56.50% Easy

65 496 Next Greater Element I 66.30% Easy

66 543 Diameter of Binary Tree 50.20% Easy

67 557 Reverse Words in a String III 72.90% Easy

68 572 Subtree of Another Tree 44.60% Easy

69 617 Merge Two Binary Trees 75.80% Easy

70 628 Maximum Product of Three Numbers 46.70% Easy

71 657 Robot Return to Origin 74.30% Easy

72 674 Longest Continuous Increasing Subsequence 46.30% Easy

73 682 Baseball Game 67.80% Easy

74 716 Max Stack 43.50% Easy

75 733 Flood Fill 56.10% Easy

76 709 To Lower Case 80.60% Easy

77 746 Min Cost Climbing Stairs 53.30% Easy

78 590 N-ary Tree Postorder Traversal 74.20% Easy

79 771 Jewels and Stones 87.10% Easy

80 703 Kth Largest Element in a Stream 51.30% Easy

81 783 Minimum Distance Between BST Nodes 54.50% Easy

82 796 Rotate String 49.00% Easy

83 706 Design HashMap 64.00% Easy

84 819 Most Common Word 45.40% Easy

85 836 Rectangle Overlap 42.80% Easy

86 844 Backspace String Compare 47.20% Easy

87 872 Leaf-Similar Trees 64.50% Easy

88 876 Middle of the Linked List 69.40% Easy


89 937 Reorder Data in Log Files 55.10% Easy

90 953 Verifying an Alien Dictionary 52.30% Easy

91 509 Fibonacci Number 67.80% Easy

92 993 Cousins in Binary Tree 52.40% Easy

93 1002 Find Common Characters 68.80% Easy

94 1099 Two Sum Less Than K 60.80% Easy

95 1160 Find Words That Can Be Formed by Characters 67.90% Easy

96 1047 Remove All Adjacent Duplicates In String 71.60% Easy

97 1180 Count Substrings with Only One Distinct Letter 78.10% Easy

98 1071 Greatest Common Divisor of Strings 51.90% Easy

99 1122 Relative Sort Array 68.00% Easy

100 1313 Decompress Run-Length Encoded List 85.50% Easy

101 1360 Number of Days Between Two Dates 46.50% Easy

102 1217 Minimum Cost to Move Chips to The Same Position 70.70% Easy

103 1275 Find Winner on a Tic Tac Toe Game 52.90% Easy

104 1351 Count Negative Numbers in a Sorted Matrix 75.70% Easy

105 1365 How Many Numbers Are Smaller Than the Current Number 86.00% Easy

106 1431 Kids With the Greatest Number of Candies 88.00% Easy

107 1491 Average Salary Excluding the Minimum and Maximum Salary 68.00% Easy

108 1480 Running Sum of 1d Array 88.90% Easy

109 1496 Path Crossing 55.20% Easy

110 1539 Kth Missing Positive Number 54.70% Easy

111 1603 Design Parking System 86.50% Easy

112 1636 Sort Array by Increasing Frequency 67.20% Easy

113 1629 Slowest Key 59.00% Easy

114 1710 Maximum Units on a Truck 70.10% Easy

115 1869 Longer Contiguous Segments of Ones than Zeros 59.70% Easy

116 175 Combine Two Tables 65.60% Easy

117 176 Second Highest Salary 33.90% Easy

118 181 Employees Earning More Than Their Managers 62.00% Easy

119 196 Delete Duplicate Emails 46.90% Easy

120 1511 Customer Order Frequency 74.60% Easy

121 2 Add Two Numbers 36.10% Medium

122 3 Longest Substring Without Repeating Characters 31.80% Medium

123 5 Longest Palindromic Substring 30.90% Medium

124 8 String to Integer (atoi) 15.80% Medium

125 11 Container With Most Water 53.00% Medium

126 12 Integer to Roman 57.50% Medium

127 15 3Sum 28.60% Medium

128 16 3Sum Closest 46.40% Medium

129 17 Letter Combinations of a Phone Number 50.40% Medium

130 18 4Sum 35.50% Medium

131 19 Remove Nth Node From End of List 36.30% Medium

132 22 Generate Parentheses 66.40% Medium

133 24 Swap Nodes in Pairs 54.10% Medium


134 29 Divide Two Integers 17.00% Medium

135 31 Next Permutation 34.10% Medium

136 33 Search in Rotated Sorted Array 36.40% Medium

137 34 Find First and Last Position of Element in Sorted Array 38.10% Medium

138 36 Valid Sudoku 51.30% Medium

139 38 Count and Say 46.70% Medium

140 39 Combination Sum 60.50% Medium

141 40 Combination Sum II 50.80% Medium

142 43 Multiply Strings 35.40% Medium

143 45 Jump Game II 32.90% Medium

144 46 Permutations 67.80% Medium

145 47 Permutations II 50.40% Medium

146 48 Rotate Image 61.80% Medium

147 49 Group Anagrams 60.40% Medium

148 50 Pow(x, n) 31.30% Medium

149 54 Spiral Matrix 37.20% Medium

150 55 Jump Game 35.50% Medium

151 56 Merge Intervals 41.90% Medium

152 57 Insert Interval 35.70% Medium

153 61 Rotate List 32.20% Medium

154 62 Unique Paths 56.80% Medium

155 63 Unique Paths II 36.00% Medium

156 64 Minimum Path Sum 56.90% Medium

157 71 Simplify Path 35.30% Medium

158 73 Set Matrix Zeroes 45.00% Medium

159 74 Search a 2D Matrix 38.70% Medium

160 75 Sort Colors 50.50% Medium

161 77 Combinations 58.70% Medium

162 78 Subsets 66.40% Medium

163 79 Word Search 37.60% Medium

164 81 Search in Rotated Sorted Array II 33.80% Medium

165 82 Remove Duplicates from Sorted List II 39.90% Medium

166 86 Partition List 45.20% Medium

167 91 Decode Ways 27.40% Medium

168 92 Reverse Linked List II 41.10% Medium

169 93 Restore IP Addresses 38.40% Medium

170 96 Unique Binary Search Trees 55.10% Medium

171 98 Validate Binary Search Tree 29.20% Medium

172 99 Recover Binary Search Tree 43.30% Medium

173 102 Binary Tree Level Order Traversal 57.80% Medium

174 103 Binary Tree Zigzag Level Order Traversal 50.90% Medium

175 105 Construct Binary Tree from Preorder and Inorder Traversal 53.70% Medium

176 109 Convert Sorted List to Binary Search Tree 52.30% Medium

177 114 Flatten Binary Tree to Linked List 53.70% Medium

178 116 Populating Next Right Pointers in Each Node 50.50% Medium
179 117 Populating Next Right Pointers in Each Node II 42.90% Medium

180 120 Triangle 47.30% Medium

181 128 Longest Consecutive Sequence 47.20% Medium

182 130 Surrounded Regions 30.30% Medium

183 133 Clone Graph 40.80% Medium

184 134 Gas Station 42.00% Medium

185 137 Single Number II 54.50% Medium

186 138 Copy List with Random Pointer 42.40% Medium

187 139 Word Break 42.30% Medium

188 142 Linked List Cycle II 40.50% Medium

189 143 Reorder List 41.80% Medium

190 146 LRU Cache 36.90% Medium

191 150 Evaluate Reverse Polish Notation 39.50% Medium

192 152 Maximum Product Subarray 33.10% Medium

193 153 Find Minimum in Rotated Sorted Array 46.60% Medium

194 159 Longest Substring with At Most Two Distinct Characters 51.00% Medium

195 162 Find Peak Element 44.20% Medium

196 165 Compare Version Numbers 31.00% Medium

197 173 Binary Search Tree Iterator 61.40% Medium

198 179 Largest Number 31.10% Medium

199 189 Rotate Array 36.90% Medium

200 198 House Robber 43.50% Medium

201 199 Binary Tree Right Side View 57.00% Medium

202 200 Number of Islands 50.20% Medium

203 201 Bitwise AND of Numbers Range 39.80% Medium

204 207 Course Schedule 44.40% Medium

205 208 Implement Trie (Prefix Tree) 53.40% Medium

206 209 Minimum Size Subarray Sum 40.30% Medium

207 210 Course Schedule II 43.50% Medium

208 211 Design Add and Search Words Data Structure 41.20% Medium

209 215 Kth Largest Element in an Array 59.60% Medium

210 221 Maximal Square 40.10% Medium

211 222 Count Complete Tree Nodes 50.40% Medium

212 227 Basic Calculator II 39.10% Medium

213 229 Majority Element II 39.50% Medium

214 230 Kth Smallest Element in a BST 63.60% Medium

215 236 Lowest Common Ancestor of a Binary Tree 50.20% Medium

216 238 Product of Array Except Self 61.60% Medium

217 240 Search a 2D Matrix II 45.80% Medium

218 244 Shortest Word Distance II 55.40% Medium

219 253 Meeting Rooms II 47.50% Medium

220 261 Graph Valid Tree 43.70% Medium

221 277 Find the Celebrity 44.50% Medium

222 279 Perfect Squares 49.60% Medium

223 284 Peeking Iterator 51.30% Medium


224 285 Inorder Successor in BST 44.20% Medium

225 286 Walls and Gates 57.20% Medium

226 287 Find the Duplicate Number 58.20% Medium

227 289 Game of Life 59.60% Medium

228 300 Longest Increasing Subsequence 45.20% Medium

229 314 Binary Tree Vertical Order Traversal 47.70% Medium

230 316 Remove Duplicate Letters 39.70% Medium

231 322 Coin Change 38.10% Medium

232 323 Number of Connected Components in an Undirected Graph 58.70% Medium

233 324 Wiggle Sort II 31.00% Medium

234 328 Odd Even Linked List 57.60% Medium

235 332 Reconstruct Itinerary 38.50% Medium

236 334 Increasing Triplet Subsequence 41.00% Medium

237 337 House Robber III 52.10% Medium

238 339 Nested List Weight Sum 77.30% Medium

239 341 Flatten Nested List Iterator 56.30% Medium

240 347 Top K Frequent Elements 62.90% Medium

241 348 Design Tic-Tac-Toe 56.20% Medium

242 353 Design Snake Game 36.60% Medium

243 355 Design Twitter 32.20% Medium

244 362 Design Hit Counter 65.90% Medium

245 366 Find Leaves of Binary Tree 72.70% Medium

246 368 Largest Divisible Subset 38.60% Medium

247 373 Find K Pairs with Smallest Sums 38.50% Medium

248 377 Combination Sum IV 47.30% Medium

249 378 Kth Smallest Element in a Sorted Matrix 57.00% Medium

250 380 Insert Delete GetRandom O(1) 49.40% Medium

251 388 Longest Absolute File Path 43.60% Medium

252 394 Decode String 53.50% Medium

253 395 Longest Substring with At Least K Repeating Characters 43.80% Medium

254 399 Evaluate Division 55.00% Medium

255 400 Nth Digit 32.60% Medium

256 402 Remove K Digits 28.70% Medium

257 416 Partition Equal Subset Sum 45.20% Medium

258 417 Pacific Atlantic Water Flow 44.70% Medium

259 424 Longest Repeating Character Replacement 48.80% Medium

260 435 Non-overlapping Intervals 44.50% Medium

261 437 Path Sum III 48.60% Medium

262 438 Find All Anagrams in a String 45.50% Medium

263 442 Find All Duplicates in an Array 69.60% Medium

264 443 String Compression 44.80% Medium

265 445 Add Two Numbers II 56.90% Medium

266 449 Serialize and Deserialize BST 54.70% Medium

267 454 4Sum II 54.90% Medium

268 456 132 Pattern 30.70% Medium


269 490 The Maze 53.30% Medium

270 494 Target Sum 45.60% Medium

271 498 Diagonal Traverse 51.20% Medium

272 503 Next Greater Element II 59.20% Medium

273 516 Longest Palindromic Subsequence 56.40% Medium

274 518 Coin Change 2 52.80% Medium

275 523 Continuous Subarray Sum 25.20% Medium

276 525 Contiguous Array 43.90% Medium

277 535 Encode and Decode TinyURL 82.60% Medium

278 540 Single Element in a Sorted Array 58.00% Medium

279 542 01 Matrix 41.50% Medium

280 545 Boundary of Binary Tree 41.00% Medium

281 547 Number of Provinces 61.20% Medium

282 1730 Shortest Path to Get Food 55.40% Medium

283 560 Subarray Sum Equals K 43.70% Medium

284 567 Permutation in String 44.60% Medium

285 576 Out of Boundary Paths 36.40% Medium

286 581 Shortest Unsorted Continuous Subarray 33.10% Medium

287 609 Find Duplicate File in System 63.00% Medium

288 621 Task Scheduler 52.60% Medium

289 635 Design Log Storage System 60.50% Medium

290 636 Exclusive Time of Functions 55.80% Medium

291 646 Maximum Length of Pair Chain 53.60% Medium

292 647 Palindromic Substrings 62.90% Medium

293 650 2 Keys Keyboard 50.60% Medium

294 652 Find Duplicate Subtrees 53.60% Medium

295 658 Find K Closest Elements 42.70% Medium

296 678 Valid Parenthesis String 31.90% Medium

297 684 Redundant Connection 59.50% Medium

298 688 Knight Probability in Chessboard 50.60% Medium

299 692 Top K Frequent Words 53.50% Medium

300 694 Number of Distinct Islands 58.50% Medium

301 695 Max Area of Island 66.70% Medium

302 713 Subarray Product Less Than K 40.70% Medium

303 718 Maximum Length of Repeated Subarray 50.80% Medium

304 721 Accounts Merge 52.90% Medium

305 735 Asteroid Collision 43.50% Medium

306 739 Daily Temperatures 65.20% Medium

307 743 Network Delay Time 46.00% Medium

308 752 Open the Lock 54.70% Medium

309 426 Convert Binary Search Tree to Sorted Doubly Linked List 62.00% Medium

310 429 N-ary Tree Level Order Traversal 67.20% Medium

311 763 Partition Labels 78.20% Medium

312 767 Reorganize String 50.60% Medium

313 775 Global and Local Inversions 46.10% Medium


314 785 Is Graph Bipartite? 49.00% Medium

315 787 Cheapest Flights Within K Stops 38.90% Medium

316 790 Domino and Tromino Tiling 40.60% Medium

317 792 Number of Matching Subsequences 48.60% Medium

318 794 Valid Tic-Tac-Toe State 34.30% Medium

319 797 All Paths From Source to Target 78.80% Medium

320 814 Binary Tree Pruning 71.70% Medium

321 826 Most Profit Assigning Work 39.50% Medium

322 641 Design Circular Deque 56.40% Medium

323 622 Design Circular Queue 47.80% Medium

324 841 Keys and Rooms 66.80% Medium

325 849 Maximize Distance to Closest Person 44.70% Medium

326 853 Car Fleet 44.80% Medium

327 856 Score of Parentheses 65.00% Medium

328 863 All Nodes Distance K in Binary Tree 58.60% Medium

329 875 Koko Eating Bananas 53.70% Medium

330 528 Random Pick with Weight 45.00% Medium

331 889 Construct Binary Tree from Preorder and Postorder Traversal 68.20% Medium

332 898 Bitwise ORs of Subarrays 35.00% Medium

333 901 Online Stock Span 61.70% Medium

334 909 Snakes and Ladders 39.30% Medium

335 912 Sort an Array 63.90% Medium

336 931 Minimum Falling Path Sum 64.30% Medium

337 939 Minimum Area Rectangle 52.50% Medium

338 957 Prison Cells After N Days 40.10% Medium

339 970 Powerful Integers 43.40% Medium

340 973 K Closest Points to Origin 64.90% Medium

341 979 Distribute Coins in Binary Tree 70.10% Medium

342 981 Time Based Key-Value Store 54.50% Medium

343 986 Interval List Intersections 68.80% Medium

344 994 Rotting Oranges 49.80% Medium

345 1008 Construct Binary Search Tree from Preorder Traversal 78.90% Medium

346 1057 Campus Bikes 58.00% Medium

347 1010 Pairs of Songs With Total Durations Divisible by 60 51.10% Medium

348 1011 Capacity To Ship Packages Within D Days 60.40% Medium

349 1060 Missing Element in Sorted Array 55.10% Medium

350 1087 Brace Expansion 63.50% Medium

351 1024 Video Stitching 48.90% Medium

352 1120 Maximum Average Subtree 64.30% Medium

353 1026 Maximum Difference Between Node and Ancestor 70.10% Medium

354 1031 Maximum Sum of Two Non-Overlapping Subarrays 59.00% Medium

355 1135 Connecting Cities With Minimum Cost 60.00% Medium

356 1152 Analyze User Website Visit Pattern 43.20% Medium

357 1041 Robot Bounded In Circle 55.00% Medium

358 1043 Partition Array for Maximum Sum 68.00% Medium


359 1166 Design File System 58.80% Medium

360 1167 Minimum Cost to Connect Sticks 65.30% Medium

361 1197 Minimum Knight Moves 38.20% Medium

362 1229 Meeting Scheduler 54.70% Medium

363 1091 Shortest Path in Binary Matrix 40.50% Medium

364 1244 Design A Leaderboard 66.90% Medium

365 1105 Filling Bookcase Shelves 57.60% Medium

366 1110 Delete Nodes And Return Forest 68.10% Medium

367 1138 Alphabet Board Path 51.60% Medium

368 1314 Matrix Block Sum 73.90% Medium

369 1143 Longest Common Subsequence 58.80% Medium

370 1328 Break a Palindrome 48.80% Medium

371 1329 Sort the Matrix Diagonally 81.40% Medium

372 1302 Deepest Leaves Sum 85.40% Medium

373 1156 Swap For Longest Repeated Character Substring 47.10% Medium

374 1155 Number of Dice Rolls With Target Sum 47.70% Medium

375 1236 Web Crawler 65.00% Medium

376 1169 Invalid Transactions 30.60% Medium

377 1382 Balance a Binary Search Tree 76.80% Medium

378 1190 Reverse Substrings Between Each Pair of Parentheses 64.60% Medium

379 1405 Longest Happy String 53.10% Medium

380 1209 Remove All Adjacent Duplicates in String II 57.20% Medium

381 1222 Queens That Can Attack the King 69.70% Medium

382 1233 Remove Sub-Folders from the Filesystem 63.10% Medium

383 1429 First Unique Number 50.30% Medium

384 1249 Minimum Remove to Make Valid Parentheses 64.40% Medium

385 1254 Number of Closed Islands 62.10% Medium

386 1268 Search Suggestions System 65.50% Medium

387 1277 Count Square Submatrices with All Ones 73.00% Medium

388 1344 Angle Between Hands of a Clock 61.40% Medium

389 1386 Cinema Seat Allocation 36.80% Medium

390 1376 Time Needed to Inform All Employees 57.10% Medium

391 1395 Count Number of Teams 73.00% Medium

392 1448 Count Good Nodes in Binary Tree 72.10% Medium

393 1465 Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts 36.90% Medium

394 1481 Least Number of Unique Integers after K Removals 56.10% Medium

395 1487 Making File Names Unique 31.80% Medium

396 1600 Throne Inheritance 61.30% Medium

397 1641 Count Sorted Vowel Strings 75.10% Medium

398 1670 Design Front Middle Back Queue 54.30% Medium

399 1628 Design an Expression Tree With Evaluate Function 80.70% Medium

400 1647 Minimum Deletions to Make Character Frequencies Unique 55.60% Medium

401 1648 Sell Diminishing-Valued Colored Balls 31.00% Medium

402 1650 Lowest Common Ancestor of a Binary Tree III 76.70% Medium

403 1673 Find the Most Competitive Subsequence 45.80% Medium


404 1740 Find Distance in a Binary Tree 68.80% Medium

405 1770 Maximum Score from Performing Multiplication Operations 30.30% Medium

406 180 Consecutive Numbers 43.20% Medium

407 184 Department Highest Salary 41.70% Medium

408 626 Exchange Seats 66.90% Medium

409 1164 Product Price at a Given Date 69.00% Medium

410 1270 All People Report to the Given Manager 88.20% Medium

411 1596 The Most Frequently Ordered Products for Each Customer 85.30% Medium

412 1783 Grand Slam Titles 90.30% Medium

413 4 Median of Two Sorted Arrays 31.90% Hard

414 10 Regular Expression Matching 27.60% Hard

415 23 Merge k Sorted Lists 43.60% Hard

416 25 Reverse Nodes in k-Group 46.10% Hard

417 30 Substring with Concatenation of All Words 26.60% Hard

418 32 Longest Valid Parentheses 30.10% Hard

419 37 Sudoku Solver 48.00% Hard

420 41 First Missing Positive 34.40% Hard

421 42 Trapping Rain Water 52.20% Hard

422 44 Wildcard Matching 25.70% Hard

423 51 N-Queens 52.10% Hard

424 68 Text Justification 31.00% Hard

425 72 Edit Distance 47.70% Hard

426 76 Minimum Window Substring 36.50% Hard

427 84 Largest Rectangle in Histogram 37.90% Hard

428 85 Maximal Rectangle 40.10% Hard

429 123 Best Time to Buy and Sell Stock III 40.60% Hard

430 124 Binary Tree Maximum Path Sum 36.00% Hard

431 126 Word Ladder II 24.20% Hard

432 127 Word Ladder 32.60% Hard

433 135 Candy 33.80% Hard

434 140 Word Break II 36.40% Hard

435 149 Max Points on a Line 18.20% Hard

436 154 Find Minimum in Rotated Sorted Array II 42.20% Hard

437 174 Dungeon Game 33.70% Hard

438 188 Best Time to Buy and Sell Stock IV 30.60% Hard

439 212 Word Search II 37.70% Hard

440 218 The Skyline Problem 37.00% Hard

441 224 Basic Calculator 38.50% Hard

442 239 Sliding Window Maximum 45.00% Hard

443 269 Alien Dictionary 33.90% Hard

444 273 Integer to English Words 28.60% Hard

445 295 Find Median from Data Stream 48.10% Hard

446 296 Best Meeting Point 58.40% Hard

447 297 Serialize and Deserialize Binary Tree 50.90% Hard

448 301 Remove Invalid Parentheses 45.20% Hard


449 305 Number of Islands II 39.50% Hard

450 312 Burst Balloons 54.10% Hard

451 315 Count of Smaller Numbers After Self 42.30% Hard

452 329 Longest Increasing Path in a Matrix 46.90% Hard

453 354 Russian Doll Envelopes 38.20% Hard

454 381 Insert Delete GetRandom O(1) - Duplicates allowed 35.10% Hard

455 403 Frog Jump 41.90% Hard

456 407 Trapping Rain Water II 44.90% Hard

457 410 Split Array Largest Sum 47.10% Hard

458 432 All O`one Data Structure 33.60% Hard

459 460 LFU Cache 37.10% Hard

460 471 Encode String with Shortest Length 50.00% Hard

461 472 Concatenated Words 43.90% Hard

462 493 Reverse Pairs 27.60% Hard

463 564 Find the Closest Palindrome 20.40% Hard

464 588 Design In-Memory File System 46.90% Hard

465 632 Smallest Range Covering Elements from K Lists 55.10% Hard

466 642 Design Search Autocomplete System 46.90% Hard

467 675 Cut Off Trees for Golf Event 35.50% Hard

468 685 Redundant Connection II 33.20% Hard

469 715 Range Module 41.50% Hard

470 726 Number of Atoms 51.10% Hard

471 727 Minimum Window Subsequence 42.70% Hard

472 759 Employee Free Time 69.00% Hard

473 428 Serialize and Deserialize N-ary Tree 62.30% Hard

474 772 Basic Calculator III 44.80% Hard

475 815 Bus Routes 43.80% Hard

476 829 Consecutive Numbers Sum 39.30% Hard

477 489 Robot Room Cleaner 73.40% Hard

478 862 Shortest Subarray with Sum at Least K 25.40% Hard

479 887 Super Egg Drop 27.00% Hard

480 895 Maximum Frequency Stack 63.60% Hard

481 980 Unique Paths III 77.10% Hard

482 987 Vertical Order Traversal of a Binary Tree 39.30% Hard

483 992 Subarrays with K Different Integers 51.40% Hard

484 1000 Minimum Cost to Merge Stones 40.80% Hard

485 1044 Longest Duplicate Substring 31.10% Hard

486 1106 Parsing A Boolean Expression 59.60% Hard

487 1483 Kth Ancestor of a Tree Node 32.80% Hard

488 1192 Critical Connections in a Network 51.60% Hard

489 1220 Count Vowels Permutation 54.10% Hard

490 1235 Maximum Profit in Job Scheduling 48.20% Hard

491 1255 Maximum Score Words Formed by Letters 70.40% Hard

492 1293 Shortest Path in a Grid with Obstacles Elimination 43.20% Hard

493 1312 Minimum Insertion Steps to Make a String Palindrome 60.70% Hard
494 1345 Jump Game IV 42.20% Hard

495 1335 Minimum Difficulty of a Job Schedule 56.50% Hard

496 1559 Detect Cycles in 2D Grid 45.00% Hard

497 1547 Minimum Cost to Cut a Stick 53.20% Hard

498 1597 Build Binary Expression Tree From Infix Expression 59.00% Hard

499 1751 Maximum Number of Events That Can Be Attended II 48.80% Hard

500 1761 Minimum Degree of a Connected Trio in a Graph 38.30% Hard

501 1799 Maximize Score After N Operations 44.60% Hard

502 185 Department Top Three Salaries 41.00% Hard

503 262 Trips and Users 36.20% Hard

504 579 Find Cumulative Salary of an Employee 38.80% Hard

505 615 Average Salary: Departments VS Company 53.80% Hard

506 1479 Sales by Day of the Week 83.10% Hard


1
Frequency Done
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N

You might also like