Given a BST find the second largest element?
Software Development Interview Questions
36,992 software development interview questions shared by candidates
Implement a solution for the bounded buffer problem where you have a queue of work items and several producer/consumer threads.
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]?
Viewing 821 - 830 interview questions