i) Given a value v, in a BST find the next value in order.
Developer C Interview Questions
710,387 developer c interview questions shared by candidates
Given a (potentially large) array of integers, all but one repeating an even number of times, how would you find the one repeating an odd number of times in an efficient way? eg [1 2 3 3 2 2 1 4 2] should return 4
Find k largest/smallest number in a series of numbers. What data-structures will you use? Code it on white board.
Write a method which return how many palindromes are in a word. Eg: barbarabar has 7 (b,a,r,barab,a,r)
What a fibonacci function which return N th position number both in recursive and loop, also give the explanation on both implementation on their time efficiency.
If you had 100 floors and 2 eggs, what is the most efficient way to determine what floor is the maximum height you can drop an egg and not crack it?
* Merge two sorted linked list. The merged list should also be sorted. * Compact a string. i.e remove spaces * traverse a link list containing char* as data. test cases for the same. * reverse a string. test cases for the same. * remove all the given characters from a string.
The infamous "clock hands" question--how many times do the hour and minute hands of a clock overlap in a 24 hour period?
Java is pass by value or pass by ref?
Print 11,41,102, 196,325...
Viewing 541 - 550 interview questions