Implement a solution for the bounded buffer problem where you have a queue of work items and several producer/consumer threads.
Software Development Programmer Interview Questions
33,184 software development programmer interview questions shared by candidates
Write a program to find out the median of two sorted array.
1. Implement stack using queue 2. Merge two arrays and sort them in order as specified at runtime. The two arrays may share common entries between them, but the resultant array must not have duplicates.
Convert string to number. "123" to 123
Combination Problem: Write a method that finds all the unique unsorted combinations of a unknown element list without using any loops.
Given a building with 100 floors and windowpanes which can break if launched from the nth floor. Find out on which floor the windowpanes will break using only two on them.
find pair of numbers out of sorted array whose sum equal to given number
Remove a node from Linked list when address of same node is given
Given a string s of length n and an index i (0 <= i <= n). Using only constant extra space, how do you manipulate the string in-place to yield the string s[i, i+1, ... , n-1, 0, 1, ..., i-1]?
you have 9 marbles, all of them identical except one of them is slightly heavier than the rest. in order to determine which is the heaviest, you have a balancing scale, however you are only allowed to use it twice. how do you determine the heaviest marble?
Viewing 751 - 760 interview questions