DSA-VerseLearn by watching code run
DashboardData StructuresAlgorithmsVisualizerCORECoding PlaygroundInterview QuestionsComplexity AnalyzerLearning NotesBookmarksLearning ProgressSettings

Interview Questions

Practice by company, difficulty and topic. Every question has brute-force, better and optimal approaches, code in four languages, complexity and a visual walkthrough.

About company tags: every tag here is a community-reported / company-tagged practice tag collected from public practice lists and interview-experience posts. None is a verified claim that a company asks this exact question. The “Verified only” filter is empty until a question is backed by a primary source.

10 of 12 questions
Two Sum
EasyArraysHashing
Amazon · Google · Microsoft · Apple +2reported
Not practiced UnsolvedO(n)
Valid Parentheses
EasyStringsStacks and Queues
Amazon · Microsoft · Meta · Googlereported
Not practiced UnsolvedO(n)
Reverse Linked List
EasyLinked ListsRecursion
Amazon · Microsoft · Apple · Metareported
Not practiced UnsolvedO(n)
Binary Search
EasyArraysSorting and Searching
Google · Microsoft · Adobereported
Not practiced UnsolvedO(log n)
Maximum Subarray (Kadane's Algorithm)
MediumArraysDynamic Programming
Amazon · Microsoft · Apple · Goldman Sachsreported
Not practiced UnsolvedO(n)
Merge Two Sorted Lists
EasyLinked ListsRecursion
Amazon · Microsoft · Apple · Adobereported
Not practiced UnsolvedO(m + n)
Valid Anagram
EasyStringsHashingSorting and Searching
Amazon · Google · Microsoftreported
Not practiced UnsolvedO(n)
Number of Islands
MediumGraphsArraysStacks and Queues
Amazon · Google · Meta · Microsoft +1reported
Not practiced UnsolvedO(m·n)
Binary Tree Inorder Traversal
EasyTreesStacks and QueuesRecursion
Microsoft · Amazonreported
Not practiced UnsolvedO(n)
Implement Queue using Stacks
EasyStacks and Queues
Amazon · Microsoftreported
Not practiced UnsolvedO(1) amortized