Given an array of size [i..n], find the product of all the elements of the array except for the element at index b, where b is an arbitrary element.
Software Development Interview Questions
36,991 software development interview questions shared by candidates
How do you check if a Binary Tree is a Binary Search Tree?
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.
Viewing 891 - 900 interview questions