Recent interview Questions for Amazon

Prepare better for amazon

Hey, if you're thinking about acing that amazon interview, we've got you covered! 🌟

We've gathered interview questions asked of candidates over the past six months from various sources.

The questions are currently in random order, but if you want them sorted from most frequently asked to less frequent, consider subscribing.

We'll send you personalized links to make your preparation even more tailored to your needs.

Best of luck with your interview journey! 🚀

  1. Find the Index of the First Occurrence in a String
  2. How Many Numbers Are Smaller Than the Current Number
  3. Sum of Total Strength of Wizards
  4. Optimal Division
  5. Painting the Walls
  6. Pascal's Triangle II
  7. Sales Analysis III
  8. Interval List Intersections
  9. Check If a String Contains All Binary Codes of Size K
  10. Array Partition
  11. Course Schedule III
  12. Rotate List
  13. Longest Substring with At Least K Repeating Characters
  14. Equal Row and Column Pairs
  15. Find Cumulative Salary of an Employee
  16. Design Tic-Tac-Toe
  17. Find the Difference of Two Arrays
  18. Destination City
  19. Minimum Operations to Make the Array Increasing
  20. Dot Product of Two Sparse Vectors
  21. Minimum Moves to Equal Array Elements
  22. Third Maximum Number
  23. Capital Gain/Loss
  24. Longest Increasing Subsequence
  25. Number of Closed Islands
  26. Decode Ways
  27. Append Characters to String to Make Subsequence
  28. Remove Palindromic Subsequences
  29. Robot Room Cleaner
  30. N-ary Tree Level Order Traversal
  31. Is Graph Bipartite?
  32. Special Array With X Elements Greater Than or Equal X
  33. Satisfiability of Equality Equations
  34. Binary Tree Inorder Traversal
  35. Sum of Subarray Minimums
  36. Word Frequency
  37. Valid Sudoku
  38. Managers with at Least 5 Direct Reports
  39. Find Numbers with Even Number of Digits
  40. Palindrome Partitioning
  41. Count Number of Texts
  42. Unique Email Addresses
  43. Maximum Difference Between Increasing Elements
  44. Valid Mountain Array
  45. String Compression
  46. Duplicate Emails
  47. Most Frequent Subtree Sum
  48. Evaluate Reverse Polish Notation
  49. Perfect Number
  50. Order Two Columns Independently
  51. Push Dominoes
  52. Delete Nodes And Return Forest
  53. Backspace String Compare
  54. Missing Element in Sorted Array
  55. Transpose Matrix
  56. Design A Leaderboard
  57. Binary String With Substrings Representing 1 To N
  58. Minimum Size Subarray Sum
  59. Minimum Deletions to Make Character Frequencies Unique
  60. Sales by Day of the Week
  61. Insert Delete GetRandom O(1) - Duplicates allowed
  62. Richest Customer Wealth
  63. Minimum Number of Operations to Make Array Empty
  64. Rearrange Characters to Make Target String
  65. Maximum Star Sum of a Graph
  66. Group Shifted Strings
  67. Remove All Adjacent Duplicates In String
  68. Delete and Earn
  69. Stream of Characters
  70. Decoded String at Index
  71. Distribute Coins in Binary Tree
  72. Find a Corresponding Node of a Binary Tree in a Clone of That Tree
  73. Gas Station
  74. Find Unique Binary String
  75. Solving Questions With Brainpower
  76. Find the K-Sum of an Array
  77. Lowest Common Ancestor of a Binary Search Tree
  78. Counting Bits
  79. Combination Sum
  80. Non-decreasing Subsequences
  81. Binary Tree Level Order Traversal
  82. Valid Phone Numbers
  83. Partition List
  84. Circular Array Loop
  85. Delete Operation for Two Strings
  86. Actors and Directors Who Cooperated At Least Three Times
  87. Add Two Numbers
  88. Find the Winner of the Circular Game
  89. Tuple with Same Product
  90. Max Consecutive Ones
  91. Delete Node in a Linked List
  92. Longest Happy Prefix
  93. Maximum Performance of a Team
  94. Check if a Parentheses String Can Be Valid
  95. Sum of Digits in the Minimum Number
  96. Count and Say
  97. All Elements in Two Binary Search Trees
  98. Clone Binary Tree With Random Pointer
  99. Find Distance in a Binary Tree
  100. Largest Odd Number in String
  101. Uncrossed Lines
  102. Product's Price for Each Store
  103. Maximum Number of Weeks for Which You Can Work
  104. Smallest Sufficient Team
  105. Edit Distance
  106. Kth Smallest Element in a Sorted Matrix
  107. Kth Largest Sum in a Binary Tree
  108. Koko Eating Bananas
  109. Pseudo-Palindromic Paths in a Binary Tree
  110. Wiggle Sort II
  111. Maximum Alternating Subarray Sum
  112. Strong Password Checker
  113. Find Interview Candidates
  114. Shortest Palindrome
  115. Longest Binary Subsequence Less Than or Equal to K
  116. Minesweeper
  117. Find the Maximum Achievable Number
  118. First Missing Positive
  119. Find the Minimum and Maximum Number of Nodes Between Critical Points
  120. Convert BST to Greater Tree
  121. Data Stream as Disjoint Intervals
  122. Find the City With the Smallest Number of Neighbors at a Threshold Distance
  123. Serialize and Deserialize Binary Tree
  124. Copy List with Random Pointer
  125. Minimum Money Required Before Transactions
  126. Kth Smallest Product of Two Sorted Arrays
  127. K-Concatenation Maximum Sum
  128. Verify Preorder Sequence in Binary Search Tree
  129. Sum of Square Numbers
  130. Distinct Subsequences
  131. Sort the Matrix Diagonally
  132. Longest Palindromic Substring
  133. Implement Queue using Stacks
  134. Merge Operations to Turn Array Into a Palindrome
  135. Department Top Three Salaries
  136. Minimum Operations to Make the Array K-Increasing
  137. The Maze III
  138. Permutation in String
  139. Sort Array by Increasing Frequency
  140. Capacity To Ship Packages Within D Days
  141. Valid Permutations for DI Sequence
  142. Sliding Window Median
  143. Remove All Occurrences of a Substring
  144. Course Schedule
  145. Course Schedule II
  146. Asteroid Collision
  147. Design Front Middle Back Queue
  148. Prime Arrangements
  149. Sliding Window Maximum
  150. Count Nodes Equal to Average of Subtree
  151. Two Sum BSTs
  152. Partition to K Equal Sum Subsets
  153. Minimum Space Wasted From Packaging
  154. Reverse Words in a String
  155. Minimum Number of Operations to Move All Balls to Each Box
  156. Lowest Common Ancestor of a Binary Tree
  157. Search in Rotated Sorted Array
  158. Unique Paths II
  159. Maximum Length of Subarray With Positive Product
  160. Minimum Area Rectangle
  161. Number of Ways to Split Array
  162. String Matching in an Array
  163. Set Mismatch
  164. Sum of Nodes with Even-Valued Grandparent
  165. K Divisible Elements Subarrays
  166. Minimum Number of Swaps to Make the String Balanced
  167. Reach a Number
  168. Split Array into Fibonacci Sequence
  169. Products With Three or More Orders in Two Consecutive Years
  170. Count Binary Substrings
  171. Product of the Last K Numbers
  172. Assign Cookies
  173. Sparse Matrix Multiplication
  174. Reorder List
  175. Concatenated Words
  176. Number of Steps to Reduce a Number in Binary Representation to One
  177. 4Sum
  178. Validate Stack Sequences
  179. Design a Stack With Increment Operation
  180. Best Time to Buy and Sell Stock II
  181. Count Number of Pairs With Absolute Difference K
  182. Arithmetic Slices
  183. Minimum Adjacent Swaps for K Consecutive Ones
  184. Best Time to Buy and Sell Stock
  185. Process Tasks Using Servers
  186. Not Boring Movies
  187. Find the Derangement of An Array
  188. Largest Rectangle in Histogram
  189. Minimum Depth of Binary Tree
  190. Consecutive Numbers Sum
  191. Maximum Absolute Sum of Any Subarray
  192. Minimum Number of Operations to Sort a Binary Tree by Level
  193. Path Sum III
  194. Letter Case Permutation
  195. Combine Two Tables
  196. Combination Sum II
  197. Find Pivot Index
  198. Reverse Linked List II
  199. Binary Trees With Factors
  200. Optimal Account Balancing
  201. Find Minimum in Rotated Sorted Array II
  202. Integer to English Words
  203. Triangle Judgement
  204. Cyclically Rotating a Grid
  205. Number of Unequal Triplets in Array
  206. Find Duplicate Subtrees
  207. Group the People Given the Group Size They Belong To
  208. N-Queens
  209. Letter Combinations of a Phone Number
  210. Squares of a Sorted Array
  211. Number of Calls Between Two Persons
  212. Number of Good Pairs
  213. Maximum Matching of Players With Trainers
  214. Reordered Power of 2
  215. Maximum Frequency Stack
  216. Maximum Sum of Distinct Subarrays With Length K
  217. Maximum Units on a Truck
  218. Divide Two Integers
  219. Predict the Winner
  220. Can Place Flowers
  221. Remove Nth Node From End of List
  222. Count Good Nodes in Binary Tree
  223. Time Taken to Cross the Door
  224. Grand Slam Titles
  225. Design Browser History
  226. Lexicographical Numbers
  227. Longest Square Streak in an Array
  228. Minimum Operations to Reduce X to Zero
  229. Elimination Game
  230. Number of Days in a Month
  231. Detonate the Maximum Bombs
  232. Longest Consecutive Sequence
  233. Can Make Arithmetic Progression From Sequence
  234. Remove Duplicates from Sorted Array II
  235. Sum of Left Leaves
  236. Sort Items by Groups Respecting Dependencies
  237. House Robber III
  238. Contains Duplicate
  239. Palindrome Permutation II
  240. Meeting Scheduler
  241. Max Stack
  242. Roman to Integer
  243. 3Sum
  244. Stone Game
  245. Minimum Garden Perimeter to Collect Enough Apples
  246. Subsets
  247. Unique Number of Occurrences
  248. Least Number of Unique Integers after K Removals
  249. Gray Code
  250. Greatest Common Divisor of Strings
  251. K Radius Subarray Averages
  252. Profitable Schemes
  253. Maximum Average Pass Ratio
  254. The kth Factor of n
  255. Orderly Queue
  256. Flatten Binary Tree to Linked List
  257. Sum of Root To Leaf Binary Numbers
  258. Minimum Swaps To Make Sequences Increasing
  259. Number of Distinct Islands
  260. Walls and Gates
  261. Maximum Score Words Formed by Letters
  262. Convert Sorted Array to Binary Search Tree
  263. Delete Duplicate Emails
  264. Minimum Rounds to Complete All Tasks
  265. Binary Search Tree Iterator
  266. Word Search
  267. Insert Interval
  268. Frequency of the Most Frequent Element
  269. Longest Absolute File Path
  270. Merge Two Binary Trees
  271. Maximum Number of Moves in a Grid
  272. Fizz Buzz
  273. Angle Between Hands of a Clock
  274. Minimum Cost to Merge Stones
  275. Synonymous Sentences
  276. Count the Number of K-Free Subsets
  277. Count Number of Rectangles Containing Each Point
  278. Longest Substring with At Most K Distinct Characters
  279. Check If N and Its Double Exist
  280. Create Target Array in the Given Order
  281. Number of Submatrices That Sum to Target
  282. Sales Analysis II
  283. Minimum Cost to Connect Sticks
  284. Reverse Nodes in k-Group
  285. Remove Duplicates from Sorted List
  286. Shortest Impossible Sequence of Rolls
  287. Reverse Only Letters
  288. Maximum Value of K Coins From Piles
  289. Design HashMap
  290. Max Increase to Keep City Skyline
  291. Spiral Matrix
  292. Sort Colors
  293. Sort Characters By Frequency
  294. Maximum Sum Circular Subarray
  295. Count Square Sum Triples
  296. Filling Bookcase Shelves
  297. Image Smoother
  298. Length of Last Word
  299. Furthest Point From Origin
  300. Shortest Unsorted Continuous Subarray
  301. Minimum Genetic Mutation
  302. Print Binary Tree
  303. Students and Examinations
  304. Power of Three
  305. Employee Importance
  306. Sort Array By Parity
  307. Open the Lock
  308. Out of Boundary Paths
  309. Two Furthest Houses With Different Colors
  310. Permutations II
  311. Minimum Limit of Balls in a Bag
  312. Relocate Marbles
  313. Happy Number
  314. Design an Expression Tree With Evaluate Function
  315. Array With Elements Not Equal to Average of Neighbors
  316. Path with Maximum Gold
  317. Jump Game II
  318. Construct Binary Tree from Inorder and Postorder Traversal
  319. Partition Labels
  320. Maximum Nesting Depth of the Parentheses
  321. Egg Drop With 2 Eggs and N Floors
  322. Expression Add Operators
  323. Find the Pivot Integer
  324. Jump Game V
  325. Longest Arithmetic Subsequence of Given Difference
  326. Remove K Digits
  327. Convert Binary Search Tree to Sorted Doubly Linked List
  328. Next Palindrome Using Same Digits
  329. Reorder Data in Log Files
  330. Text Justification
  331. Design In-Memory File System
  332. Maximal Square
  333. Count of Smaller Numbers After Self
  334. Camelcase Matching
  335. Combination Sum III
  336. Find Minimum Time to Finish All Jobs
  337. Word Break II
  338. Binary Tree Vertical Order Traversal
  339. Shortest Path Visiting All Nodes
  340. Sum of Scores of Built Strings
  341. Search a 2D Matrix II
  342. Minimize Maximum of Array
  343. The Number of the Smallest Unoccupied Chair
  344. Minimum Deletions to Make Array Beautiful
  345. Binary Tree Paths
  346. Find K Pairs with Smallest Sums
  347. Repeated String Match
  348. Ransom Note
  349. Regions Cut By Slashes
  350. Same Tree
  351. Sum of Beauty in the Array
  352. Defanging an IP Address
  353. Merge Two Sorted Lists
  354. Average Selling Price
  355. Duplicate Zeros
  356. Race Car
  357. Employees With Deductions
  358. Number of Equivalent Domino Pairs
  359. Minimum Difference in Sums After Removal of Elements
  360. 01 Matrix
  361. Construct Quad Tree
  362. Best Time to Buy and Sell Stock with Cooldown
  363. Closest Divisors
  364. Dota2 Senate
  365. Read N Characters Given Read4
  366. Reorganize String
  367. Random Pick with Blacklist
  368. Customers With Strictly Increasing Purchases
  369. Boundary of Binary Tree
  370. Append K Integers With Minimal Sum
  371. Partition Array into Disjoint Intervals
  372. Insert Delete GetRandom O(1)
  373. Maximize the Confusion of an Exam
  374. Number of Matching Subsequences
  375. Search a 2D Matrix
  376. Keyboard Row
  377. Minimum Swaps to Group All 1's Together
  378. Maximum Sum BST in Binary Tree
  379. Frog Jump
  380. Analyze User Website Visit Pattern
  381. Distinct Numbers in Each Subarray
  382. Path With Maximum Minimum Value
  383. Number of Music Playlists
  384. Maximum Subarray
  385. Flower Planting With No Adjacent
  386. Number of Islands
  387. Candy
  388. Maximum Product Subarray
  389. Product Sales Analysis I
  390. Score of Parentheses
  391. Continuous Subarray Sum
  392. Maximum Number of Alloys
  393. Minimum Replacements to Sort the Array
  394. Max Points on a Line
  395. Smallest Number in Infinite Set
  396. Count Negative Numbers in a Sorted Matrix
  397. Maximum Element After Decreasing and Rearranging
  398. Substring with Concatenation of All Words
  399. Maximum Average Subarray I
  400. Shortest Path in a Grid with Obstacles Elimination
  401. Random Pick with Weight
  402. Shortest Path in Binary Matrix
  403. Find Duplicate File in System
  404. Function Composition
  405. Smallest String With Swaps
  406. Valid Parentheses
  407. Count Unique Characters of All Substrings of a Given String
  408. Prime Number of Set Bits in Binary Representation
  409. Shuffle an Array
  410. Find the Difference
  411. Longest Harmonious Subsequence
  412. Two Sum IV - Input is a BST
  413. Wiggle Subsequence
  414. Find Xor-Beauty of Array
  415. Stone Game V
  416. Sum of Subsequence Widths
  417. Convert a Number to Hexadecimal
  418. Serialize and Deserialize BST
  419. Subarray Product Less Than K
  420. Minimum Right Shifts to Sort the Array
  421. Product Sales Analysis III
  422. Number of Days Between Two Dates
  423. Sort Features by Popularity
  424. Remove Sub-Folders from the Filesystem
  425. Make K-Subarray Sums Equal
  426. Find Minimum Time to Finish All Jobs II
  427. Minimum Cost Tree From Leaf Values
  428. Count Words Obtained After Adding a Letter
  429. Friend Requests II: Who Has the Most Friends
  430. Move Zeroes
  431. Distant Barcodes
  432. Binary Tree Preorder Traversal
  433. Construct Binary Tree from String
  434. Design Twitter
  435. Pyramid Transition Matrix
  436. Count Complete Tree Nodes
  437. Find All Good Indices
  438. Minimum Sum of Four Digit Number After Splitting Digits
  439. Cousins in Binary Tree
  440. Smallest String With A Given Numeric Value
  441. Design Add and Search Words Data Structure
  442. LFU Cache
  443. Next Greater Node In Linked List
  444. Flipping an Image
  445. Sliding Puzzle
  446. Maximum Subsequence Score
  447. Maximum Number of Vowels in a Substring of Given Length
  448. Partition Array for Maximum Sum
  449. Minimum Average Difference
  450. Next Greater Element I
  451. Bulls and Cows
  452. Palindrome Linked List
  453. Path With Minimum Effort
  454. GCD Sort of an Array
  455. Convert Sorted List to Binary Search Tree
  456. Maximum Consecutive Floors Without Special Floors
  457. Shortest Bridge
  458. The K Weakest Rows in a Matrix
  459. Maximum Number of Events That Can Be Attended
  460. Minimum Numbers of Function Calls to Make Target Array
  461. Minimize the Maximum Difference of Pairs
  462. Longest Univalue Path
  463. Step-By-Step Directions From a Binary Tree Node to Another
  464. Unique Morse Code Words
  465. Warehouse Manager
  466. Rank Scores
  467. Populating Next Right Pointers in Each Node II
  468. Closest Room
  469. Partition Array Into Two Arrays to Minimize Sum Difference
  470. Shortest Common Supersequence
  471. Restore IP Addresses
  472. Binary Search Tree to Greater Sum Tree
  473. Spiral Matrix II
  474. Swap For Longest Repeated Character Substring
  475. Logger Rate Limiter
  476. Closest Binary Search Tree Value
  477. Partition Array Such That Maximum Difference Is K
  478. Range Sum Query - Immutable
  479. Longest Palindrome
  480. Two Sum
  481. Binary Tree Postorder Traversal
  482. Minimum Operations to Convert Number
  483. Burst Balloons
  484. Arranging Coins
  485. Minimum Jumps to Reach Home
  486. Total Cost to Hire K Workers
  487. Employees Earning More Than Their Managers
  488. Find K-th Smallest Pair Distance
  489. Wildcard Matching
  490. Find Eventual Safe States
  491. Jump Game VIII
  492. Count Square Submatrices with All Ones
  493. Check if There is a Valid Partition For The Array
  494. Reverse Pairs
  495. Number of Smooth Descent Periods of a Stock
  496. Shortest and Lexicographically Smallest Beautiful String
  497. Find Common Characters
  498. Find and Replace Pattern
  499. Jump Game
  500. First Bad Version
  501. Bus Routes
  502. Number of Valid Words in a Sentence
  503. Count Number of Nice Subarrays
  504. Constrained Subsequence Sum
  505. Department Highest Salary
  506. Top K Frequent Elements
  507. Guess Number Higher or Lower
  508. Add Binary
  509. Number of Subsequences That Satisfy the Given Sum Condition
  510. Task Scheduler
  511. Rectangle Overlap
  512. Employee Free Time
  513. Design Circular Queue
  514. Sqrt(x)
  515. Vertical Order Traversal of a Binary Tree
  516. Battleships in a Board
  517. Reverse Bits
  518. Invalid Tweets
  519. Max Sum of Rectangle No Larger Than K
  520. Number of Good Ways to Split a String
  521. Maximize Number of Subsequences in a String
  522. Word Ladder
  523. Flood Fill
  524. Maximum Running Time of N Computers
  525. Minimum Absolute Difference
  526. Minimum Penalty for a Shop
  527. Reverse Linked List
  528. Longest Winning Streak
  529. Integer Replacement
  530. Smallest Subtree with all the Deepest Nodes
  531. Find the Celebrity
  532. Find Words That Can Be Formed by Characters
  533. Design Phone Directory
  534. Single Element in a Sorted Array
  535. Handshakes That Don't Cross
  536. Product Sales Analysis V
  537. Total Hamming Distance
  538. Find All Possible Recipes from Given Supplies
  539. Merge BSTs to Create Single BST
  540. Find First and Last Position of Element in Sorted Array
  541. Recyclable and Low Fat Products
  542. Wiggle Sort
  543. Permutations
  544. Find Original Array From Doubled Array
  545. Trips and Users
  546. Allow One Function Call
  547. Implement Rand10() Using Rand7()
  548. Most Profit Assigning Work
  549. Add Two Numbers II
  550. Minimum Number of Taps to Open to Water a Garden
  551. Minimum Number of Frogs Croaking
  552. Maximum Number of Robots Within Budget
  553. Difference Between Ones and Zeros in Row and Column
  554. Different Ways to Add Parentheses
  555. Number of Wonderful Substrings
  556. Longest ZigZag Path in a Binary Tree
  557. Pacific Atlantic Water Flow
  558. Reverse String II
  559. Last Person to Fit in the Bus
  560. Remove Covered Intervals
  561. Insert into a Binary Search Tree
  562. Alien Dictionary
  563. Detect Cycles in 2D Grid
  564. Number of Islands II
  565. Maximum Linear Stock Score
  566. Valid Palindrome III
  567. Valid Triangle Number
  568. Path Sum II
  569. Minimum Number of Days to Make m Bouquets
  570. Palindrome Pairs
  571. Design Linked List
  572. Missing Number
  573. Replace Words
  574. Matchsticks to Square
  575. Maximum Profit in Job Scheduling
  576. Remove Linked List Elements
  577. Replace Elements in an Array
  578. Minimum Moves to Reach Target Score
  579. Solve the Equation
  580. Longest Path With Different Adjacent Characters
  581. Average Salary Excluding the Minimum and Maximum Salary
  582. Highest Grade For Each Student
  583. Design Memory Allocator
  584. 3Sum Closest
  585. Generate Parentheses
  586. Kids With the Greatest Number of Candies
  587. Peeking Iterator
  588. Summary Ranges
  589. Average of Levels in Binary Tree
  590. Best Time to Buy and Sell Stock III
  591. Maximum Total Beauty of the Gardens
  592. Fruit Into Baskets
  593. Reverse Words in a String III
  594. Time Needed to Rearrange a Binary String
  595. Partition Array According to Given Pivot
  596. Minimum Swaps to Group All 1's Together II
  597. Climbing Stairs
  598. Reconstruct Itinerary
  599. Decode XORed Permutation
  600. House Robber
  601. Binary Tree Level Order Traversal II
  602. First Unique Character in a String
  603. Number of Flowers in Full Bloom
  604. Lonely Pixel I
  605. Min Stack
  606. Kth Distinct String in an Array
  607. Patching Array
  608. Valid Parenthesis String
  609. Find the Substring With Maximum Cost
  610. Split With Minimum Sum
  611. Basic Calculator III
  612. Largest BST Subtree
  613. Remove Duplicate Letters
  614. Minimum Absolute Difference in BST
  615. Maximum Points You Can Obtain from Cards
  616. Complex Number Multiplication
  617. Max Area of Island
  618. Count Different Palindromic Subsequences
  619. Maximum Width of Binary Tree
  620. Find the Distance Value Between Two Arrays
  621. Find the Missing IDs
  622. Minimum Cost to Cut a Stick
  623. Find Smallest Letter Greater Than Target
  624. Loud and Rich
  625. Convert an Array Into a 2D Array With Conditions
  626. Remove Invalid Parentheses
  627. Jewels and Stones
  628. Linked List in Binary Tree
  629. Shortest Subarray to be Removed to Make Array Sorted
  630. Find Minimum in Rotated Sorted Array
  631. Ad-Free Sessions
  632. Count the Number of K-Big Indices
  633. Index Pairs of a String
  634. Surface Area of 3D Shapes
  635. Minimum Time Difference
  636. Design Bitset
  637. Sum of All Subset XOR Totals
  638. Jump Game VII
  639. Path In Zigzag Labelled Binary Tree
  640. Create Sorted Array through Instructions
  641. Make String a Subsequence Using Cyclic Increments
  642. Baseball Game
  643. Armstrong Number
  644. Product Sales Analysis IV
  645. Single Number III
  646. Customer Who Visited but Did Not Make Any Transactions
  647. Customer Order Frequency
  648. Decompress Run-Length Encoded List
  649. Sorting the Sentence
  650. Even Odd Tree
  651. Coin Change II
  652. Find if Path Exists in Graph
  653. Power of Two
  654. Sum of Two Integers
  655. Count Special Integers
  656. Design File System
  657. Fair Distribution of Cookies
  658. Maximum Erasure Value
  659. Critical Connections in a Network
  660. Number of Distinct Islands II
  661. Serialize and Deserialize N-ary Tree
  662. Pascal's Triangle
  663. Move Pieces to Obtain a String
  664. Build Array Where You Can Find The Maximum Exactly K Comparisons
  665. Map Sum Pairs
  666. Largest Time for Given Digits
  667. Queries on a Permutation With Key
  668. Minimum Remove to Make Valid Parentheses
  669. Remove Duplicates from Sorted List II
  670. Running Sum of 1d Array
  671. Avoid Flood in The City
  672. Maximum Number of Achievable Transfer Requests
  673. Rank Transform of an Array
  674. Range Sum Query 2D - Immutable
  675. Jump Game III
  676. Path Sum
  677. Making File Names Unique
  678. Determine if String Halves Are Alike
  679. Longest Duplicate Substring
  680. Put Marbles in Bags
  681. Numbers At Most N Given Digit Set
  682. Number of 1 Bits
  683. Minimum Score After Removals on a Tree
  684. Complement of Base 10 Integer
  685. Design a Food Rating System
  686. Maximize Distance to Closest Person
  687. Target Sum
  688. Range Addition
  689. Evaluate Division
  690. Count Operations to Obtain Zero
  691. Construct Binary Tree from Preorder and Inorder Traversal
  692. Number of Connected Components in an Undirected Graph
  693. Maximum Population Year
  694. Range Addition II
  695. Flip String to Monotone Increasing
  696. Min Cost Climbing Stairs
  697. Recover Binary Search Tree
  698. Customers Who Bought All Products
  699. K-Similar Strings
  700. Count of Integers
  701. Combination Sum IV
  702. Palindromic Substrings
  703. Design Search Autocomplete System
  704. Longest Common Subpath
  705. Scramble String
  706. Number of Distinct Averages
  707. Kth Missing Positive Number
  708. Big Countries
  709. Maximum Width Ramp
  710. Sort Array By Parity II
  711. Validate Binary Tree Nodes
  712. Array Prototype Last
  713. Regular Expression Matching
  714. Minimum Sum of Squared Difference
  715. Symmetric Tree
  716. Dungeon Game
  717. Valid Palindrome IV
  718. Count Primes
  719. Minimum Number of Moves to Make Palindrome
  720. Implement Trie (Prefix Tree)
  721. Sum of Subarray Ranges
  722. Car Pooling
  723. Maximal Rectangle
  724. Minimum Adjacent Swaps to Reach the Kth Smallest Number
  725. Majority Element II
  726. Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
  727. Count Array Pairs Divisible by K
  728. Word Ladder II
  729. Find the Duplicate Number
  730. Kth Largest Element in a Stream
  731. Boats to Save People
  732. Construct Binary Tree from Preorder and Postorder Traversal
  733. Fibonacci Number
  734. Remove Vowels from a String
  735. Redundant Connection
  736. Nth Highest Salary
  737. Add Two Polynomials Represented as Linked Lists
  738. Maximum Sum of 3 Non-Overlapping Subarrays
  739. Longest Subarray of 1's After Deleting One Element
  740. Add One Row to Tree
  741. Time Needed to Inform All Employees
  742. Decode String
  743. Minimum Falling Path Sum
  744. Meeting Rooms
  745. Find the Closest Palindrome
  746. Corporate Flight Bookings
  747. Encode and Decode TinyURL
  748. Design Underground System
  749. Verifying an Alien Dictionary
  750. Find Target Indices After Sorting Array
  751. Kth Largest Element in an Array
  752. Count Unreachable Pairs of Nodes in an Undirected Graph
  753. Unique Binary Search Trees
  754. Linked List Cycle
  755. Valid Anagram
  756. High Five
  757. Substrings of Size Three with Distinct Characters
  758. Get Watched Videos by Your Friends
  759. Maximum Bags With Full Capacity of Rocks
  760. Clone N-ary Tree
  761. Collecting Chocolates
  762. Zigzag Conversion
  763. Valid Palindrome II
  764. Minimum Health to Beat Game
  765. Subsets II
  766. Longest Increasing Path in a Matrix
  767. Students Report By Geography
  768. Frog Position After T Seconds
  769. Add Digits
  770. Max Sum of a Pair With Equal Sum of Digits
  771. Global and Local Inversions
  772. Minimum Number of Vertices to Reach All Nodes
  773. Number of Ways to Reorder Array to Get Same BST
  774. Game Play Analysis I
  775. Robot Return to Origin
  776. Plates Between Candles
  777. Shuffle the Array
  778. Beautiful Arrangement
  779. Buddy Strings
  780. Minimum Difficulty of a Job Schedule
  781. All Valid Triplets That Can Represent a Country
  782. Shopping Offers
  783. Count All Possible Routes
  784. Shortest Subarray with Sum at Least K
  785. Valid Perfect Square
  786. Accounts Merge
  787. First Unique Number
  788. Coin Change
  789. Multiply Strings
  790. Minimum Number of Swaps to Make the Binary String Alternating
  791. Maximize the Profit as the Salesman
  792. All O`one Data Structure
  793. Redundant Connection II
  794. Optimal Partition of String
  795. Connecting Cities With Minimum Cost
  796. Shortest Path to Get Food
  797. Remove Nodes From Linked List
  798. Number of Longest Increasing Subsequence
  799. Number of Laser Beams in a Bank
  800. Number of Provinces
  801. Remove All Adjacent Duplicates in String II
  802. List the Products Ordered in a Period
  803. Cheapest Flights Within K Stops
  804. Max Consecutive Ones III
  805. Pancake Sorting
  806. Shortest Word Distance II
  807. H-Index
  808. Delete the Middle Node of a Linked List
  809. Minimum Number of Refueling Stops
  810. Make Array Zero by Subtracting Equal Amounts
  811. Split BST
  812. Jump Game VI
  813. Minimum Knight Moves
  814. Merge Sorted Array
  815. Check if Array Is Sorted and Rotated
  816. Find Right Interval
  817. Maximum Number of Eaten Apples
  818. Double a Number Represented as a Linked List
  819. Knight Probability in Chessboard
  820. Swapping Nodes in a Linked List
  821. Check If a Word Occurs As a Prefix of Any Word in a Sentence
  822. Subarrays with K Different Integers
  823. Lowest Common Ancestor of a Binary Tree III
  824. UTF-8 Validation
  825. Sequential Digits
  826. Binary Tree Zigzag Level Order Traversal
  827. Next Greater Element II
  828. Self Dividing Numbers
  829. Two Sum Less Than K
  830. Split Array Largest Sum
  831. Balanced Binary Tree
  832. Equal Tree Partition
  833. Peak Index in a Mountain Array
  834. Maximum Twin Sum of a Linked List
  835. Longest Continuous Increasing Subsequence
  836. Magnetic Force Between Two Balls
  837. Super Washing Machines
  838. Binary Tree Maximum Path Sum
  839. Ones and Zeroes
  840. Find Subsequence of Length K With the Largest Sum
  841. The Skyline Problem
  842. Most Stones Removed with Same Row or Column
  843. Island Perimeter
  844. Word Abbreviation
  845. Trapping Rain Water
  846. Extra Characters in a String
  847. Paint House II
  848. Longest Valid Parentheses
  849. Excel Sheet Column Title
  850. Consecutive Numbers
  851. Kth Ancestor of a Tree Node
  852. Reformat Department Table
  853. Maximum Path Quality of a Graph
  854. Users With Two Purchases Within Seven Days
  855. Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
  856. Set Matrix Zeroes
  857. Maximum Number of Points with Cost
  858. Single Number II
  859. Rabbits in Forest
  860. Remove Zero Sum Consecutive Nodes from Linked List
  861. LRU Cache
  862. Number of People Aware of a Secret
  863. Pow(x, n)
  864. Rotting Oranges
  865. Excel Sheet Column Number
  866. Couples Holding Hands
  867. Moving Average from Data Stream
  868. Longest Common Subsequence
  869. Valid Palindrome
  870. Exchange Seats
  871. Min Cost to Connect All Points
  872. Minimum Cost to Make Array Equal
  873. Design SQL
  874. RLE Iterator
  875. First and Last Call On the Same Day
  876. Minimum Add to Make Parentheses Valid
  877. Build Array from Permutation
  878. Matrix Block Sum
  879. Find the Divisibility Array of a String
  880. Build Binary Expression Tree From Infix Expression
  881. Final Prices With a Special Discount in a Shop
  882. Design Snake Game
  883. Reverse Substrings Between Each Pair of Parentheses
  884. Shortest Word Distance
  885. Partition Equal Subset Sum
  886. Concatenation of Array
  887. Find the Town Judge
  888. Validate IP Address
  889. Find the Team Size
  890. Find K Closest Elements
  891. Determine the Winner of a Bowling Game
  892. Longest Palindromic Subsequence
  893. Convert 1D Array Into 2D Array
  894. Design Hit Counter
  895. Substring With Largest Variance
  896. Longest Substring with At Most Two Distinct Characters
  897. Split Linked List in Parts
  898. Minimum Insertion Steps to Make a String Palindrome
  899. Leftmost Column with at Least a One
  900. Online Stock Span
  901. Minimum Difference Between Largest and Smallest Value in Three Moves
  902. Heaters
  903. Longest String Chain
  904. Minimized Maximum of Products Distributed to Any Store
  905. Maximum of Minimum Values in All Subarrays
  906. Design Parking System
  907. Ugly Number
  908. Merge k Sorted Lists
  909. Contains Duplicate III
  910. Reverse Integer
  911. Number of Ways to Select Buildings
  912. Single Number
  913. Find N Unique Integers Sum up to Zero
  914. Find Peak Element
  915. Customers Who Never Order
  916. Longest Word in Dictionary
  917. Maximum Strictly Increasing Cells in a Matrix
  918. Adding Spaces to a String
  919. Longest Common Prefix
  920. Binary Tree Longest Consecutive Sequence
  921. Number of Dice Rolls With Target Sum
  922. Robot Bounded In Circle
  923. Find Missing Observations
  924. Minimum Window Substring
  925. Balance a Binary Search Tree
  926. Missing Ranges
  927. Implement Stack using Queues
  928. Game of Life
  929. Swap Adjacent in LR String
  930. Minimum Value to Get Positive Step by Step Sum
  931. Contiguous Array
  932. Palindrome Number
  933. Word Break
  934. Monotonic Array
  935. Maximum Difference Between Node and Ancestor
  936. Swim in Rising Water
  937. Maximal Range That Each Element Is Maximum in It
  938. Nearest Exit from Entrance in Maze
  939. Number of Operations to Make Network Connected
  940. 4Sum II
  941. Number of Increasing Paths in a Grid
  942. Strictly Palindromic Number
  943. Number of Digit One
  944. Reverse String
  945. Combinations
  946. Queue Reconstruction by Height
  947. Tree Node
  948. Repeated DNA Sequences
  949. Top K Frequent Words
  950. Cache With Time Limit
  951. Maximum Sum Score of Array
  952. Rotate Array
  953. Snapshot Array
  954. Search in a Binary Search Tree
  955. Number of Enclaves
  956. Basic Calculator II
  957. Find Triangular Sum of an Array
  958. Clone Graph
  959. Count Odd Numbers in an Interval Range
  960. K Closest Points to Origin
  961. Count Subarrays With Score Less Than K
  962. Best Time to Buy and Sell Stock with Transaction Fee
  963. Surrounded Regions
  964. Container With Most Water
  965. Next Closest Time
  966. Find Nearest Point That Has the Same X or Y Coordinate
  967. Contains Duplicate II
  968. Perfect Squares
  969. Find All Duplicates in an Array
  970. Largest Sum of Averages
  971. Repeated Substring Pattern
  972. Digit Count in Range
  973. Rotate Function
  974. NPV Queries
  975. Article Views I
  976. Find Customer Referee
  977. Minimum Number of Keypresses
  978. Shift 2D Grid
  979. Subarray Sums Divisible by K
  980. Check for Contradictions in Equations
  981. Furthest Building You Can Reach
  982. Check if Word Can Be Placed In Crossword
  983. Nested List Weight Sum
  984. Check if One String Swap Can Make Strings Equal
  985. Find a Peak Element II
  986. IPO
  987. Remove Boxes
  988. Determine Whether Matrix Can Be Obtained By Rotation
  989. Form Array by Concatenating Subarrays of Another Array
  990. Largest Multiple of Three
  991. K-diff Pairs in an Array
  992. Steps to Make Array Non-decreasing
  993. Count Stepping Numbers in Range
  994. Binary Tree Pruning
  995. All Nodes Distance K in Binary Tree
  996. Swap Nodes in Pairs
  997. Minimum Operations to Remove Adjacent Ones in Matrix
  998. Remove Colored Pieces if Both Neighbors are the Same Color
  999. Keep Multiplying Found Values by Two
  1000. Replace Non-Coprime Numbers in Array
  1001. Time Based Key-Value Store
  1002. Number of Visible People in a Queue
  1003. Delete Node in a BST
  1004. Basic Calculator
  1005. Number of Times a Driver Was a Passenger
  1006. Count Ways to Make Array With Product
  1007. Product Price at a Given Date
  1008. Customers Who Bought Products A and B but Not C
  1009. K-th Symbol in Grammar
  1010. Pairs of Songs With Total Durations Divisible by 60
  1011. Closest Binary Search Tree Value II
  1012. Number of Ways to Form a Target String Given a Dictionary
  1013. Product of Array Except Self
  1014. Find Resultant Array After Removing Anagrams
  1015. Sudoku Solver
  1016. Group Anagrams
  1017. Construct String from Binary Tree
  1018. Word Pattern
  1019. Check if Move is Legal
  1020. Students With Invalid Departments
  1021. Minimum Time to Complete Trips
  1022. House Robber II
  1023. Find Winner on a Tic Tac Toe Game
  1024. Majority Element
  1025. Prison Cells After N Days
  1026. Friendly Movies Streamed Last Month
  1027. Trim a Binary Search Tree
  1028. Exclusive Time of Functions
  1029. Smallest Subsequence of Distinct Characters
  1030. Find the Most Competitive Subsequence
  1031. Design Excel Sum Formula
  1032. Cinema Seat Allocation
  1033. Car Fleet
  1034. Minimum Score Triangulation of Polygon
  1035. Longest Substring Without Repeating Characters
  1036. Binary Search
  1037. Remove Duplicates from Sorted Array
  1038. Check If It Is a Straight Line
  1039. Minimum Path Sum
  1040. Single-Threaded CPU
  1041. Replace Elements with Greatest Element on Right Side
  1042. Find Median from Data Stream
  1043. Create Hello World Function
  1044. Trapping Rain Water II
  1045. Smallest Range II
  1046. Isomorphic Strings
  1047. Rectangle Area
  1048. Number of Recent Calls
  1049. Find Total Time Spent by Each Employee
  1050. Keys and Rooms
  1051. Bulb Switcher
  1052. Length of the Longest Valid Substring
  1053. Sequentially Ordinal Rank Tracker
  1054. Longest Repeating Substring
  1055. Binary Tree Right Side View
  1056. Kill Process
  1057. Count the Hidden Sequences
  1058. Flip Equivalent Binary Trees
  1059. Max Chunks To Make Sorted
  1060. Design HashSet
  1061. Minimum Moves to Equal Array Elements II
  1062. Populating Next Right Pointers in Each Node
  1063. Encode and Decode Strings
  1064. Construct Target Array With Multiple Sums
  1065. Reverse Words in a String II
  1066. Two City Scheduling
  1067. Maximum Subarray Min-Product
  1068. Unique Paths III
  1069. Split a String Into the Max Number of Unique Substrings
  1070. Count Sorted Vowel Strings
  1071. Second Highest Salary
  1072. Intersection of Two Linked Lists
  1073. Cousins in Binary Tree II
  1074. Maximum Swap
  1075. Concatenation of Consecutive Binary Numbers
  1076. Paint House
  1077. Range Module
  1078. Minimum Cost to Hire K Workers
  1079. Maximum Length of Pair Chain
  1080. Find Leaves of Binary Tree
  1081. Largest Unique Number
  1082. Merge Strings Alternately
  1083. Non-overlapping Intervals
  1084. Count Pairs Of Nodes
  1085. Snakes and Ladders
  1086. Minimum Adjacent Swaps to Make a Valid Array
  1087. Maximum Product of Splitted Binary Tree
  1088. Minimum Number of Arrows to Burst Balloons
  1089. Maximum Number of Events That Can Be Attended II
  1090. Cherry Pickup
  1091. Partitioning Into Minimum Number Of Deci-Binary Numbers
  1092. Human Traffic of Stadium
  1093. Most Common Word
  1094. Minimize the Difference Between Target and Chosen Elements
  1095. Subarray Sum Equals K
  1096. Soup Servings
  1097. Kth Smallest Element in a BST
  1098. Best Poker Hand
  1099. Remove Element
  1100. Add Strings
  1101. Rotate String
  1102. Apply Discount to Prices
  1103. Shortest Path with Alternating Colors
  1104. Maximize the Beauty of the Garden
  1105. Invalid Transactions
  1106. Minimum Degree of a Connected Trio in a Graph
  1107. Lowest Common Ancestor of a Binary Tree IV
  1108. Find Bottom Left Tree Value
  1109. Find Good Days to Rob the Bank
  1110. As Far from Land as Possible
  1111. Check If Array Pairs Are Divisible by k
  1112. Poor Pigs
  1113. Remove Stones to Minimize the Total
  1114. Integer Break
  1115. Search Suggestions System
  1116. Maximum Number of Pairs in Array
  1117. Cells in a Range on an Excel Sheet
  1118. Minimum Operations to Form Subsequence With Target Sum
  1119. Distribute Repeating Integers
  1120. String to Integer (atoi)
  1121. Maximum Size Subarray Sum Equals k
  1122. One Edit Distance
  1123. Number of Atoms
  1124. Most Beautiful Item for Each Query
  1125. Parallel Courses
  1126. Minimum Height Trees
  1127. Next Greater Element III
  1128. Rearrange Products Table
  1129. Daily Temperatures
  1130. Count All Valid Pickup and Delivery Options
  1131. My Calendar I
  1132. Continuous Subarrays
  1133. Search in Rotated Sorted Array II
  1134. Intersection of Two Arrays
  1135. Flatten Nested List Iterator
  1136. Monotone Increasing Digits
  1137. Domino and Tromino Tiling
  1138. Recover a Tree From Preorder Traversal
  1139. Merge Intervals
  1140. Counter
  1141. Make Sum Divisible by P
  1142. Sales Analysis I
  1143. Construct Smallest Number From DI String
  1144. Product Sales Analysis II
  1145. Palindrome Partitioning II
  1146. Flatten a Multilevel Doubly Linked List
  1147. Count Number of Teams
  1148. Simplify Path
  1149. Maximum Depth of Binary Tree
  1150. Using a Robot to Print the Lexicographically Smallest String
  1151. Deepest Leaves Sum
  1152. Maximum Product of Word Lengths
  1153. Divide Chocolate
  1154. Count of Range Sum
  1155. Sell Diminishing-Valued Colored Balls
  1156. All Possible Full Binary Trees
  1157. Check Completeness of a Binary Tree
  1158. Sum of Number and Its Reverse
  1159. The Maze
  1160. Plus One
  1161. Subtree of Another Tree
  1162. Reverse Vowels of a String
  1163. Minimum Time to Make Rope Colorful
  1164. Nth Magical Number
  1165. 3Sum With Multiplicity
  1166. Sum Root to Leaf Numbers
  1167. Remove Digit From Number to Maximize Result
  1168. Custom Sort String
  1169. Super Egg Drop
  1170. Number of Subarrays with Bounded Maximum
  1171. Find in Mountain Array
  1172. Odd Even Linked List
  1173. Stock Price Fluctuation
  1174. Delete Leaves With a Given Value
  1175. Number of Unique Categories
  1176. Russian Doll Envelopes
  1177. Is Subsequence
  1178. Design a Text Editor
  1179. Find All Numbers Disappeared in an Array
  1180. Longest Arithmetic Subsequence
  1181. Amount of Time for Binary Tree to Be Infected
  1182. Maximum Gap
  1183. Cut Off Trees for Golf Event
  1184. Rising Temperature
  1185. Permutation Sequence
  1186. Diameter of Binary Tree
  1187. Removing Stars From a String
  1188. Find First Palindromic String in the Array
  1189. Compare Version Numbers
  1190. Longest Palindrome by Concatenating Two Letter Words
  1191. Maximum Number of Occurrences of a Substring
  1192. Unique Paths
  1193. Sort an Array
  1194. Non-decreasing Array
  1195. Range Sum of BST
  1196. Coloring A Border
  1197. Active Users
  1198. Word Search II
  1199. Linked List Cycle II
  1200. Add Two Integers
  1201. Maximum Product of Two Elements in an Array
  1202. Consecutive Available Seats
  1203. Invert Binary Tree
  1204. Jump Game IV
  1205. Minimum Length of String After Deleting Similar Ends
  1206. Longest Repeating Character Replacement
  1207. Longest Happy String
  1208. Two Sum II - Input Array Is Sorted
  1209. Network Delay Time
  1210. Total Appeal of A String
  1211. Range Sum Query - Mutable
  1212. Find All Anagrams in a String
  1213. 132 Pattern
  1214. Graph Valid Tree
  1215. Maximum Average Subtree
  1216. Maximum Level Sum of a Binary Tree
  1217. Largest Number
  1218. Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
  1219. Best Time to Buy and Sell Stock IV
  1220. Meeting Rooms II
  1221. Count Sub Islands
  1222. Unique Binary Search Trees II
  1223. Find K-Length Substrings With No Repeated Characters
  1224. All Paths From Source to Target
  1225. Validate Binary Search Tree
  1226. Closest Leaf in a Binary Tree
  1227. Last Stone Weight
  1228. Find the Index of the Large Integer
  1229. Brightest Position on Street
  1230. Count Number of Special Subsequences
  1231. Number Complement
  1232. Minimum Sideway Jumps
  1233. Find Closest Number to Zero
  1234. Where Will the Ball Fall
  1235. Intersection of Two Arrays II
  1236. Decode the Slanted Ciphertext
  1237. Integer to Roman
  1238. Hamming Distance
  1239. Triangle
  1240. Power of Four
  1241. Path Crossing
  1242. Root Equals Sum of Children
  1243. Champagne Tower
  1244. Making A Large Island
  1245. Minimum Domino Rotations For Equal Row
  1246. Minimum Cost For Tickets
  1247. Construct Binary Search Tree from Preorder Traversal
  1248. Employee Bonus
  1249. Bitwise AND of Numbers Range
  1250. Reduce Array Size to The Half
  1251. Maximum Number of Non-Overlapping Substrings
  1252. Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
  1253. Interleaving String
  1254. The Score of Students Solving Math Expression
  1255. Smallest Range Covering Elements from K Lists
  1256. Cherry Pickup II
  1257. Smallest Subarrays With Maximum Bitwise OR
  1258. Divide Intervals Into Minimum Number of Groups
  1259. Replace Employee ID With The Unique Identifier
  1260. Valid Number
  1261. Possible Bipartition
  1262. Diet Plan Performance
  1263. Count Vowels Permutation
  1264. Minimum Number of Operations to Make Array Continuous
  1265. Insufficient Nodes in Root to Leaf Paths
  1266. Maximum Product of Three Numbers
  1267. Convert Binary Number in a Linked List to Integer
  1268. Binary Tree Cameras
  1269. Relative Ranks
  1270. Rotate Image
  1271. Random Pick Index
  1272. Count Nodes With the Highest Score
  1273. Fizz Buzz Multithreaded
  1274. Sort List
  1275. Next Permutation
  1276. Median of Two Sorted Arrays
  1277. Maximum XOR of Two Numbers in an Array
  1278. Number of Sets of K Non-Overlapping Line Segments
  1279. Minimum Number of Days to Eat N Oranges
  1280. Sum of All Odd Length Subarrays
  1281. Maximum Sum of Almost Unique Subarray
  1282. Shuffle String
  1283. Alphabet Board Path
  1284. To Be Or Not To Be
  1285. Buildings With an Ocean View
  1286. Minimum Cost Homecoming of a Robot in a Grid
  1287. Rearrange Array Elements by Sign
  1288. Search Insert Position
  1289. Middle of the Linked List
  1290. Max Number of K-Sum Pairs
  1291. Maximum Number of Books You Can Take
  1292. Knight Dialer
  1293. Maximum Length of Repeated Subarray
  1294. Largest Divisible Subset