Given the head of a linked list, write a program in your language of choice to return the middle node of the list.
Development Engineer Interview Questions
37,471 development engineer interview questions shared by candidates
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.
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.
Viewing 791 - 800 interview questions