Data Structures & Algorithms Interview Questions
Review this list of 336 Data Structures & Algorithms interview questions and answers verified by hiring managers and candidates.Hot
Recent
Implement a phrase search in a list of documents.

5 months ago1 answerImplement a red-black tree.
3 years ago1 answerSet Matrix Zeroes

a year ago3 answersFind the first common ancestor of two nodes in a binary tree.
8 months ago1 answer- Get your questions answered
Our question database is made possible by user contributions. What were you asked in your most recent interview?
Calculate the number of times a pattern appears in a string.
2 years ago3 answersImplement a hashmap without using any libraries.


2 years ago1 answerBuild a Basic Regex Parser


2 years ago2 answersFlatten a Dictionary
3 years ago8 answersGiven a list of trades, iterate to return buy/sell pairs and overall profit.
5 years ago2 answersMinimum Absolute Difference
2 years agoImplement a search algorithm for multiple records using backtracking.
2 years ago1 answerImplement BFS traversal.
3 years agoFind the first repeated character in a given string.
2 years ago3 answersTransform a flat array of objects into a nested list.
2 years ago1 answer
Showing 181-200 of 336
Popular roles
Interviewed recently?
Help improve our question database (and earn karma) by telling us about your experience
+ Share interview experienceTrending companies





