In employee table there is a self reference to boss (who is also an employee). How to find the number of people that work under a given person for his entire tree.
Software Development Interview Questions
37,008 software development interview questions shared by candidates
Given a BST find the second largest element?
One array has size n and n elements . second array has size n+m and m elements. both the arrays are sorted. we need to get n+m elements in second array in sorted order. Linear time algorithm was expected
How do you find a target string in a source string?
Reverse words in a String
Write a program to find out the median of two sorted array.
Design a cellphone for a blind person
find pair of numbers out of sorted array whose sum equal to given number
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.
Viewing 821 - 830 interview questions