Coin algorithm - I forgot the exact number, but we had 1, 5, 10, 25 cents and based on the number of cents, calculate the least number of coins to achieve the given values.
Software Development Interview Questions
37,298 software development interview questions shared by candidates
Rearrange digits of a number to find the largest possible number in O(n) time.
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?
How would store and load a tree in file?
Given a BST find the second largest element?
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
Viewing 821 - 830 interview questions