Find all pairs of numbers in an array that sum to a given number, n, in linear time
Software Development Programmer Interview Questions
33,200 software development programmer interview questions shared by candidates
Design LRU cache
Basic java questions and write a method to test whether a given binary search tree is valid or not
Detect a loop in the given directed graph.
Imagine a sequence like this: a, b, c...z, aa, ab, ac...zz, aaa, aab, aac.... aax, aaz, aba, abc... (Its same as excel column names). Given an integer (n), generate n-th string from the above sequence. Ps: Don't generate the full list of sequence till n. It'll be definitely bad approach :)
Vaguely remember finding pairs of elements in array with same sum
You are given a nxm matrix having unique integers, each column is sorted in ascending order. You have to select one integer from each column such that the difference between the minimum and maximum of the selected numbers becomes minimum.
None.
How would you model a deck of cards? Write a reshuffling function for the deck of cards.
Write code for this function: determine how many words in a given string (char*). The code should be in C.
Viewing 1681 - 1690 interview questions