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
Software Interview Questions
550,593 software 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.
Given a string determine if it consist of valid concatenated words. "dogcatfish" --> true because it can be split int "dog","cat", and fish "dogecatfish" --> false
Reverse a string
Why the potholes have circular opening?
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
How to convert an Optional string to integer without throwing exception
Viewing 1061 - 1070 interview questions