How do you check if a Binary Tree is a Binary Search Tree?
Software Development Engineer Interview Questions
33,184 software development engineer interview questions shared by candidates
find the closest pair of points in a 2 dimensional space.? write an algorithm.
Describe data structure for Shuffle operation in a music player
Merge two sorted linked lists with unique integers.
How would you find the common primes in two integers ?
Replace all spaces in a string by %20. Write production quality code in first attempt
Design (in Object Oriented manner) a restaurant reservation service. No coding necessary beyond class names and method names and rough description of how they work. Then design the SQL database for this system (table names, columns and foreign keys)
Asked question: Using an already implemented method Rand5() that generates a random integer between the ranges 1-5 uniformly. Using this method, implement a a new method that returns a random integer in the range 1-7 uniformly, i.e. Rand7(). Basically this is Rejection Sampling Algorithm. See http://leetcode.com/2010/11/rejection-sampling.html
Given a bitmap, find the largest size of adjacent 1's.
The first question was to find the first word on a stream that do not repeat in the rest of the stream. I got some Interfaces that I needed to implement, there was a example input and output.
Viewing 811 - 820 interview questions