You are given a random binary tree 5 / \ 4 9 / \ / \ 3 5 6 8 Write code to print it out in order level ie 5 4 9 3 5 6 8 The tree need not be balanced. Write all the datastructures for the tree and make sure that you print newlines after each level. Also write test cases to test your code.
Softwareentwickler Java Interview Questions
512,884 softwareentwickler java interview questions shared by candidates
How would you store 1 million phone numbers?
1.How to find the nearest parent of any two nodes in a given tree. Tree has mother and father nodes.
What signal is sent by default in the unix kill command
Given unsorted sequence of billions of numbers that cannot all fit in memory at the same time, find the median of these values.
efficiently search for an input word in an unbounded dictionary.
Designen und beschreiben Sie ein/e System/Anwendung, die am effizientesten einen Bericht über die Top-1-Millionen-Google-Suchen erstellt. Sie erhalten: Sie erhalten 12 Server, mit denen Sie arbeiten können. Sie sind alle Dual-Core-Maschinen mit 4GB Arb
I am playing a card game called 24. Cards ace to king are numbered 1 to 13. During a given round, I am provided four cards to play with from the shuffled pack. If the numbers from the four cards result in 24 then I win the round if I shout '24' first. How would you code a function for this?
The wiggle problem, given an array of integers arrange them such that alternate elements are large and small.(2,5,3,6,...)
Find some certain substrings in a array of strings.
Viewing 1441 - 1450 interview questions