Find nth last number in a singly linked list.
Development Interview Questions
137,183 development interview questions shared by candidates
Write a code such that each nose in BST points to it's right neighbour.
A programming involving hashset, 2 questions where I had to list out test scenarios, one more question involving how to improve API's that are over and under used.
2. Find top 100 maximum number from a continuous input stream.
Asked to implement a function that takes an integer and returns whether or not the number had an odd or even number of 1 bits.
Given the head pointers to two linked lists of unknown length, find the node of intersection if they do intersect.
What are the first 2 integers that, when added together, equal 10 in a "very large" array of unsigned integers?
design a ADT to implement push(), pop() method as stack, and also has a getMinElement(). Require that getMinElement() is constant time but push()/pop() do not have to be constant time at first. Then for improvement, these three methods are all required to be constant time
Take two arrays and compare them to find duplicates. Only list each duplicate once.
1) Given a array and a sum, find all the pairs in the array which have the given sum. 2) Given a BST you need to identify swapped nodes
Viewing 91 - 100 interview questions