Coding interview prep
Practice DSA Interview Problems
70 problems across arrays, trees, graphs, dynamic programming, and more. Pick any problem and practice it with an AI interviewer that talks, listens, and scores you like a real FAANG interview.
11 easy|47 medium|12 hard
Start a free interviewShowing 70 of 70 problems
- MediumArrays
3Sum
googleamazonmeta+3Practice with AI - EasyArrays
Best Time to Buy and Sell Stock
amazongooglemicrosoft+2Practice with AI - EasyBinary Search
Binary Search
googleamazonmicrosoft+2Practice with AI - MediumTrees
Binary Tree Level Order Traversal
amazongooglemicrosoft+2Practice with AI - MediumTrees
Binary Tree Right Side View
metaamazonbloomberg+3Practice with AI - EasyDynamic Prog.
Climbing Stairs
amazongoogleapple+2Practice with AI - MediumGraphs
Clone Graph
metagoogleamazon+2Practice with AI - MediumDynamic Prog.
Coin Change
amazongooglemeta+2Practice with AI - MediumBacktracking
Combination Sum
amazonmetagoogle+4Practice with AI - MediumArrays
Container With Most Water
amazongooglemeta+2Practice with AI - MediumGraphs
Course Schedule
amazonmetamicrosoft+3Practice with AI - MediumStacks & Queues
Daily Temperatures
googleamazonmeta+4Practice with AI - HardDynamic Prog.
Edit Distance
googleamazonmeta+4Practice with AI - MediumStacks & Queues
Evaluate Reverse Polish Notation
amazongooglemicrosoft+3Practice with AI - HardHeap / PQ
Find Median from Data Stream
amazongooglemeta+5Practice with AI - MediumBinary Search
Find Minimum in Rotated Sorted Array
googleamazonmeta+3Practice with AI - MediumBinary Search
Find Peak Element
googleamazonmeta+3Practice with AI - HardArrays
First Missing Positive
googleamazonmicrosoft+4Practice with AI - MediumGraphs
Graph Valid Tree
googleamazonmeta+3Practice with AI - MediumStrings
Group Anagrams
amazongooglefacebook+2Practice with AI - MediumDynamic Prog.
House Robber
amazongooglemicrosoft+3Practice with AI - MediumTrie
Implement Trie (Prefix Tree)
googleamazonmicrosoft+4Practice with AI - MediumBinary Search
Koko Eating Bananas
googleamazonmeta+3Practice with AI - MediumHeap / PQ
Kth Largest Element in an Array
metaamazongoogle+5Practice with AI - MediumTrees
Kth Smallest Element in a BST
amazonmetagoogle+3Practice with AI - HardStacks & Queues
Largest Rectangle in Histogram
googleamazonmeta+5Practice with AI - EasyHeap / PQ
Last Stone Weight
googleamazonadobe+2Practice with AI - MediumBacktracking
Letter Combinations of a Phone Number
amazongooglemeta+4Practice with AI - EasyLinked Lists
Linked List Cycle
amazonmicrosoftapple+2Practice with AI - EasyStrings
Longest Common Prefix
googleamazonapple+2Practice with AI - MediumDynamic Prog.
Longest Common Subsequence
amazongooglemeta+4Practice with AI - MediumDynamic Prog.
Longest Increasing Subsequence
googleamazonmeta+3Practice with AI - MediumStrings
Longest Palindromic Substring
amazonmicrosoftgoogle+3Practice with AI - MediumStrings
Longest Substring Without Repeating Characters
amazongooglemicrosoft+2Practice with AI - MediumTrees
Lowest Common Ancestor of a Binary Search Tree
amazonmetamicrosoft+2Practice with AI - MediumLinked Lists
LRU Cache
amazongooglemeta+6Practice with AI - EasyTrees
Maximum Depth of Binary Tree
amazongooglelinkedin+2Practice with AI - MediumSliding Window
Maximum Subarray
googleamazonmeta+4Practice with AI - HardBinary Search
Median of Two Sorted Arrays
googleamazonmeta+4Practice with AI - MediumArrays
Merge Intervals
googlemetaamazon+4Practice with AI - HardLinked Lists
Merge K Sorted Lists
amazongooglemeta+4Practice with AI - EasyLinked Lists
Merge Two Sorted Lists
amazongooglemicrosoft+2Practice with AI - MediumStacks & Queues
Min Stack
amazongooglemicrosoft+3Practice with AI - MediumSliding Window
Minimum Size Subarray Sum
metagoogleamazon+3Practice with AI - HardStrings
Minimum Window Substring
metaamazongoogle+4Practice with AI - HardBacktracking
N-Queens
googleamazonmeta+4Practice with AI - MediumGraphs
Number of Islands
amazongooglemicrosoft+2Practice with AI - MediumGraphs
Pacific Atlantic Water Flow
googleamazonmeta+3Practice with AI - MediumBacktracking
Palindrome Partitioning
amazongooglemeta+3Practice with AI - MediumBacktracking
Permutations
metaamazongoogle+4Practice with AI - MediumArrays
Product of Array Except Self
amazonmicrosoftapple+2Practice with AI - MediumLinked Lists
Remove Nth Node From End of List
metaamazongoogle+3Practice with AI - MediumHeap / PQ
Reorganize String
googleamazonmeta+4Practice with AI - EasyLinked Lists
Reverse Linked List
amazongooglemicrosoft+2Practice with AI - MediumBinary Search
Search a 2D Matrix
googleamazonmeta+3Practice with AI - MediumBinary Search
Search in Rotated Sorted Array
googleamazonmeta+4Practice with AI - HardTrees
Serialize and Deserialize Binary Tree
googleamazonmeta+3Practice with AI - HardSliding Window
Sliding Window Maximum
googleamazonmeta+4Practice with AI - MediumStrings
String to Integer (atoi)
amazonmicrosoftapple+4Practice with AI - MediumBacktracking
Subsets
metaamazonmicrosoft+3Practice with AI - MediumHeap / PQ
Task Scheduler
metaamazongoogle+4Practice with AI - MediumHeap / PQ
Top K Frequent Elements
amazonmetagoogle+5Practice with AI - HardArrays
Trapping Rain Water
googleamazonmeta+4Practice with AI - EasyArrays
Two Sum
googleamazonmeta+2Practice with AI - MediumDynamic Prog.
Unique Paths
googleamazonmeta+3Practice with AI - EasyStacks & Queues
Valid Parentheses
googleamazonmeta+2Practice with AI - MediumTrees
Validate Binary Search Tree
amazongooglemicrosoft+2Practice with AI - MediumDynamic Prog.
Word Break
amazongooglemeta+4Practice with AI - HardGraphs
Word Ladder
amazonmetagoogle+4Practice with AI - MediumBacktracking
Word Search
amazonmetamicrosoft+4Practice with AI