Given a tree, print the values contained at each level on the same line. So if you had the tree with root A, and children B and C, you would print: A B C
Developer Interview Questions
640,302 developer interview questions shared by candidates
How would you store and search 1 million names?
Merge 'k' sorted arrays, each array may have max 'n' elements
Given an integer array, find if the target sum exists as the sum of contiguous elements.
Reverse a string
On the interview I had to code an example with PHP and as they were watch me develop.
Why the potholes have circular opening?
If I have a jar with 1000 coins and one is double headed and I pick one coin randomly and flip 10 heads what is the probability it is the double headed coin?
aptitude questions, logical ability, data interpretation,reading comprehention
Given an integer, re-arrange the integer such that first and last digit will be at first and second, second and second last digit will be at third and fourth position from left of the re-arranges integer and so on. Example: Input -> 12345678, Output -> 18273645 Input -> 1234567, Output -> 1726354
Viewing 951 - 960 interview questions