DSA interview practice problems
70 problems across arrays, trees, graphs, dynamic programming and more. Solve the free set on your own in Practice Mode. When you want to rehearse the real thing, open any problem in AI Interview Mode and talk it through with a voice interviewer.
Pick a problem.
Free problems open straight into the solver. The rest run as AI interviews.
All 70 problems
Binary Search
Free practice
EasyBinary Searchgoogle, amazon, microsoft +2Binary Tree Level Order Traversal
Free practice
MediumTreesamazon, google, microsoft +2Group Anagrams
Free practice
MediumStringsamazon, google, facebook +2Longest Substring Without Repeating Characters
Free practice
MediumStringsamazon, google, microsoft +2Merge Two Sorted Lists
Free practice
EasyLinked Listsamazon, google, microsoft +2Number of Islands
Free practice
MediumGraphsamazon, google, microsoft +2Product of Array Except Self
Free practice
MediumArraysamazon, microsoft, apple +2Top K Frequent Elements
Free practice
MediumHeap / PQamazon, meta, google +5Trapping Rain Water
Free practice
HardArraysgoogle, amazon, meta +4Two Sum
Free practice
EasyArraysgoogle, amazon, meta +2Valid Parentheses
Free practice
EasyStacks & Queuesgoogle, amazon, meta +2Word Ladder
Free practice
HardGraphsamazon, meta, google +43Sum
Locked · AI interview only
MediumArraysgoogle, amazon, meta +3Best Time to Buy and Sell Stock
Locked · AI interview only
EasyArraysamazon, google, microsoft +2Binary Tree Right Side View
Locked · AI interview only
MediumTreesmeta, amazon, bloomberg +3Climbing Stairs
Locked · AI interview only
EasyDynamic Prog.amazon, google, apple +2Clone Graph
Locked · AI interview only
MediumGraphsmeta, google, amazon +2Coin Change
Locked · AI interview only
MediumDynamic Prog.amazon, google, meta +2Combination Sum
Locked · AI interview only
MediumBacktrackingamazon, meta, google +4Container With Most Water
Locked · AI interview only
MediumArraysamazon, google, meta +2Course Schedule
Locked · AI interview only
MediumGraphsamazon, meta, microsoft +3Daily Temperatures
Locked · AI interview only
MediumStacks & Queuesgoogle, amazon, meta +4Edit Distance
Locked · AI interview only
HardDynamic Prog.google, amazon, meta +4Evaluate Reverse Polish Notation
Locked · AI interview only
MediumStacks & Queuesamazon, google, microsoft +3Find Median from Data Stream
Locked · AI interview only
HardHeap / PQamazon, google, meta +5Find Minimum in Rotated Sorted Array
Locked · AI interview only
MediumBinary Searchgoogle, amazon, meta +3Find Peak Element
Locked · AI interview only
MediumBinary Searchgoogle, amazon, meta +3First Missing Positive
Locked · AI interview only
HardArraysgoogle, amazon, microsoft +4Graph Valid Tree
Locked · AI interview only
MediumGraphsgoogle, amazon, meta +3House Robber
Locked · AI interview only
MediumDynamic Prog.amazon, google, microsoft +3Implement Trie (Prefix Tree)
Locked · AI interview only
MediumTriegoogle, amazon, microsoft +4Koko Eating Bananas
Locked · AI interview only
MediumBinary Searchgoogle, amazon, meta +3Kth Largest Element in an Array
Locked · AI interview only
MediumHeap / PQmeta, amazon, google +5Kth Smallest Element in a BST
Locked · AI interview only
MediumTreesamazon, meta, google +3Largest Rectangle in Histogram
Locked · AI interview only
HardStacks & Queuesgoogle, amazon, meta +5Last Stone Weight
Locked · AI interview only
EasyHeap / PQgoogle, amazon, adobe +2Letter Combinations of a Phone Number
Locked · AI interview only
MediumBacktrackingamazon, google, meta +4Linked List Cycle
Locked · AI interview only
EasyLinked Listsamazon, microsoft, apple +2Longest Common Prefix
Locked · AI interview only
EasyStringsgoogle, amazon, apple +2Longest Common Subsequence
Locked · AI interview only
MediumDynamic Prog.amazon, google, meta +4
Showing 40 of 70
How practice works.
- How does TechInView's AI mock interview work?
- Pick a problem and choose a mode. Practice Mode gives you an editor and test runs on your own. AI Interview Mode adds a voice interviewer who answers your clarifying questions, discusses your approach, follows your code in a shared editor, and scores the round on five dimensions: problem solving, code quality, communication, technical knowledge, and testing.
- What coding interview topics are covered?
- The library has 70 problems (11 easy, 47 medium, 12 hard) covering arrays, strings, trees, graphs, dynamic programming, linked lists, stacks and queues, binary search, heaps, backtracking, sliding window, and tries.
- Is TechInView free to try?
- Yes. A curated set of problems is free to solve in Practice Mode, and every account gets one 5-minute voice interview preview. You do not need a credit card to sign up.