Data Structures & Algorithms Interview Questions
Study our database of real interview questions and answers verified by hiring managers and candidates.
- 501 questions
- 547 companies
- 21 roles
- Last updated Nov 2026
Hot
Recent
Most Common Words

8 months ago45 answersFind the longest common prefix given two integer arrays.
a year ago3 answersClimbing Stairs


+56 months ago29 answersReorder linked list.
a year ago1 answer- Get your questions answered
Our question database is made possible by user contributions. What were you asked in your most recent interview?
Write functions to serialize and deserialize a list of strings. Has video answer

2 years ago11 answersGiven the root of a binary tree, return the length of the diameter of the tree.


+24 months ago20 answersFind Largest Numbers


7 months ago32 answersGiven an nxn grid of 1s and 0s, return the number of islands in the input. Has video answer


+113 months ago28 answersFind a triplet in an array with a given sum. Has video answer


+46 months ago35 answersLongest Valid Parentheses
2 years ago2 answersDegrees of Friendship
a year ago34 answersExplain multithreading.


+22 months ago3 answersLinked List Cycle


+516 days ago27 answersFind peak element in an array
a year ago2 answers
Showing 41-60 of 501
Popular roles
Interviewed recently?
Help improve our question database (and earn karma) by telling us about your experience
+ Share interview experienceTrending companies

