count the number of duplicates in a binary tree in O(n) time O(1) space.
Engineer Developer Interview Questions
467,468 engineer developer interview questions shared by candidates
Describe your everyday work methodology
What was your most challenging bug you fixed?
Was ist bei Kalkulationen von Floating Points zu beachten? Gibt es zum Beispiel Probleme mit der Aussage 1.0f + e-30.
Prüfen, ob zwei Blätter eines Graphen verbunden sind oder nicht, wie Algorithmus verbessern
What kind of data structure would you use to index annagrams of words? e.g. if there exists the word "top" in the database, the query for "pot" should list that...
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.
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
Viewing 1201 - 1210 interview questions