Write an algorithm to verify if a tree is a binary search tree.
Development Engineer Interview Questions
37,444 development engineer interview questions shared by candidates
Create a data structure that minimizes time complexity of retrieving median and inserting new element. Getting median should be O(1) and insertion should be O(log(n)).
Divide two numbers without using / or % and return quotient.
Write a program to check if a number has rotational symmetry i.e is the same when rotated by 180 degrees. Ex 1691, 181, 11, 1001
General Questions about leadership principle, 3 coding questions and 1 system design question
First question was to find all numbers that occurred an odd-number of times in an array and second question was implement a stack that could return the largest number in the stack at anytime.
Given a string of Rs and Gs, design an algorithm to produce a string with Rs in the front and Gs after that. The number of flips from Rs to Gs or otherwise should be minimum. The number of Rs and Gs in the end need not be same as that in the beginning, however the length of the entire string should be the same.
Write a function that takes in an array and repeats an integer that appears the most.
Check if tic-tac-toe has a winner
Write a program to determine if a character array is an anagram of another character array.
Viewing 131 - 140 interview questions