Written test: print all the leaves of a binary tree(may not complete) as a link list.
Software QA/Tests Interview Questions from Microsoft
(Continued from previous question...)
Written test:
print all the leaves of a binary tree(may not complete) as a link list.
Q:
Microsoft Interview Question for SDE in tests
Written test:
print all the leaves of a binary tree(may not complete) as a link list.
1
/\
2 3
/\
4 5
output as a list: 4->5->3->NULL
(Continued on next question...)
Other Interview Questions
|