All Amazon Coding Interview Questions
1626 questions we track for Amazon, most frequently asked first. Practice any of them in the code editor and get AI feedback on your solution.
Start your Amazon mock interviewQuestions Amazon asks, live voice, scored. First one free.
- Junior26% (417)
- Mid/Senior56% (910)
- Staff18% (299)
Questionspage 8 of 17
- Relative Sort Array6 companiesJunior
- Lowest Common Ancestor of Deepest Leaves4 companiesMid/Senior
- Number of Equivalent Domino Pairs3 companiesJunior
- Shortest Path with Alternating Colors5 companiesMid/Senior
- Maximum of Absolute Value Expression2 companiesMid/Senior
- Parallel Courses7 companiesMid/Senior
- N-th Tribonacci Number6 companiesJunior
- Largest 1-Bordered Square4 companiesMid/Senior
- Stone Game II5 companiesMid/Senior
- Longest Common Subsequence20 companiesMid/Senior
- Binary Tree Coloring Game2 companiesMid/Senior
- Analyze User Website Visit Pattern7 companiesMid/Senior
- Number of Dice Rolls With Target Sum5 companiesMid/Senior
- Find Words That Can Be Formed by Characters7 companiesJunior
- Maximum Level Sum of a Binary Tree4 companiesMid/Senior
- As Far from Land as Possible6 companiesMid/Senior
- Last Substring in Lexicographical Order5 companiesStaff
- Minimum Cost to Connect Sticks6 companiesMid/Senior
- Invalid Transactions7 companiesMid/Senior
- Remove Zero Sum Consecutive Nodes from Linked List6 companiesMid/Senior
- Prime Arrangements1 companyJunior
- Maximum Subarray Sum with One Deletion4 companiesMid/Senior
- Reverse Substrings Between Each Pair of Parentheses9 companiesMid/Senior
- Critical Connections in a Network8 companiesStaff
- Minimum Knight Moves12 companiesMid/Senior
- Minimum Absolute Difference15 companiesJunior
- Ugly Number III3 companiesMid/Senior
- Sort Items by Groups Respecting Dependencies5 companiesStaff
- Unique Number of Occurrences5 companiesJunior
- Remove All Adjacent Duplicates in String II18 companiesMid/Senior
- Minimum Cost to Move Chips to The Same Position4 companiesJunior
- Path with Maximum Gold6 companiesMid/Senior
- Split a String in Balanced Strings4 companiesJunior
- Meeting Scheduler8 companiesMid/Senior
- Check If It Is a Straight Line3 companiesJunior
- Remove Sub-Folders from the Filesystem8 companiesMid/Senior
- Maximum Profit in Job Scheduling25 companiesStaff
- Web Crawler7 companiesMid/Senior
- Tiling a Rectangle with the Fewest Squares3 companiesStaff
- Tree Diameter8 companiesMid/Senior
- Count Number of Nice Subarrays9 companiesMid/Senior
- Minimum Remove to Make Valid Parentheses11 companiesMid/Senior
- Number of Closed Islands5 companiesMid/Senior
- Maximum Score Words Formed by Letters4 companiesStaff
- Shift 2D Grid1 companyJunior
- Greatest Sum Divisible by Three7 companiesMid/Senior
- Minimum Time Visiting All Points6 companiesJunior
- Count Servers that Communicate6 companiesMid/Senior
- Search Suggestions System21 companiesMid/Senior
- Find Winner on a Tic Tac Toe Game7 companiesJunior
- Count Square Submatrices with All Ones5 companiesMid/Senior
- Subtract the Product and Sum of Digits of an Integer5 companiesJunior
- Group the People Given the Group Size They Belong To5 companiesMid/Senior
- Find the Smallest Divisor Given a Threshold13 companiesMid/Senior
- Element Appearing More Than 25% In Sorted Array4 companiesJunior
- Remove Covered Intervals1 companyMid/Senior
- Convert Binary Number in a Linked List to Integer10 companiesJunior
- Maximum Side Length of a Square with Sum Less than or Equal to Threshold5 companiesMid/Senior
- Shortest Path in a Grid with Obstacles Elimination14 companiesStaff
- Find Numbers with Even Number of Digits7 companiesJunior
- Maximum Number of Occurrences of a Substring6 companiesMid/Senior
- Replace Elements with Greatest Element on Right Side4 companiesJunior
- Number of Paths with Max Score2 companiesStaff
- Deepest Leaves Sum4 companiesMid/Senior
- Find N Unique Integers Sum up to Zero6 companiesJunior
- All Elements in Two Binary Search Trees2 companiesMid/Senior
- Jump Game III3 companiesMid/Senior
- XOR Queries of a Subarray4 companiesMid/Senior
- Get Watched Videos by Your Friends2 companiesMid/Senior
- Minimum Insertion Steps to Make a String Palindrome6 companiesStaff
- Sum of Nodes with Even-Valued Grandparent4 companiesMid/Senior
- Convert Integer to the Sum of Two No-Zero Integers4 companiesJunior
- Number of Operations to Make Network Connected10 companiesMid/Senior
- Maximum 69 Number7 companiesJunior
- Delete Leaves With a Given Value4 companiesMid/Senior
- Minimum Number of Taps to Open to Water a Garden13 companiesStaff
- Sort the Matrix Diagonally4 companiesMid/Senior
- Rank Transform of an Array6 companiesJunior
- Remove Palindromic Subsequences1 companyJunior
- Find the City With the Smallest Number of Neighbors at a Threshold Distance5 companiesMid/Senior
- Minimum Difficulty of a Job Schedule7 companiesStaff
- The K Weakest Rows in a Matrix5 companiesJunior
- Maximum Product of Splitted Binary Tree5 companiesMid/Senior
- Number of Steps to Reduce a Number to Zero6 companiesJunior
- Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold3 companiesMid/Senior
- Angle Between Hands of a Clock7 companiesMid/Senior
- Jump Game IV3 companiesStaff
- Check If N and Its Double Exist5 companiesJunior
- Minimum Number of Steps to Make Two Strings Anagram10 companiesMid/Senior
- Count Negative Numbers in a Sorted Matrix6 companiesJunior
- Maximum Number of Events That Can Be Attended14 companiesMid/Senior
- Sort Integers by The Number of 1 Bits4 companiesJunior
- Number of Substrings Containing All Three Characters6 companiesMid/Senior
- Number of Days Between Two Dates5 companiesJunior
- Closest Divisors1 companyMid/Senior
- Largest Multiple of Three2 companiesStaff
- How Many Numbers Are Smaller Than the Current Number6 companiesJunior
- Rank Teams by Votes7 companiesMid/Senior
- Linked List in Binary Tree5 companiesMid/Senior
- Minimum Cost to Make at Least One Valid Path in a Grid8 companiesStaff