Anon
BAN USER- 0of 2 votes
AnswersGiven a tree (Not a binary tree) and two nodes A and B, node has parent and child properties find the path P from A to B (In a tree there is only one path). Reduce the complexity to O(P).
- Anon in United States for Yahoo Sports| Report Duplicate | Flag | PURGE
Yahoo Software Engineer / Developer Algorithm - 0of 0 votes
AnswersIncrement a integer array with value between 0-9
- Anon in United States for Platform and Products
Ex:
input [1,2,3]
output [1,2,4]| Report Duplicate | Flag | PURGE
Bazaarvoice Senior Software Development Engineer - -1of 1 vote
AnswerLowest common ancestor binary tree.
- Anon in United States for Platform and Products
1) Given left() right().
2) Given just parent()
3) Increase the performance to o(logn) with parent().| Report Duplicate | Flag | PURGE
Bazaarvoice Senior Software Development Engineer Algorithm - 1of 1 vote
AnswersPrint a tree in Zig zag order.
- Anon in United States for Platform and Products| Report Duplicate | Flag | PURGE
Bazaarvoice Senior Software Development Engineer Algorithm - 2of 2 votes
AnswersI have a list of several million words unsorted.
- Anon in United States
How can you find the largest and the smallest words that can be typed by a single hand on a qwerty-style keyboard? Following the rules of finger placement, a word can either be typed fully on the left-hand side of the keyboard, the right-hand side, or both. Find the largest and smallest left-hand word(s), and the largest and smallest right-hand word(s).
given: millions of words, unsorted
given: set of left-hand chars - a,s,d,f,...
given: set of right-hand chars - j,k,l...| Report Duplicate | Flag | PURGE
Google Software Engineer in Test Data Structures
Replegabesg, Android Engineer at ASU
My name is JoeColeman . I am working at Rite Solution as a Data entry keyer . It's been almost 10 ...
RepCamilaHill, Accountant at ADP
I am a performance-driven leader providing high-level administrative and operational support, coordinating schedules, preparing travel and documents, and exploring Surah ...
A really smart solution..
- Anon August 09, 2013