1.

Level order traversal of a tree is formed with the help of(a) breadth first search(b) depth first search(c) dijkstra’s algorithm(d) prims algorithmMy question is based upon Binary Trees using Linked Lists in portion Binary Trees of Data Structures & Algorithms IThis question was addressed to me in an interview for job.

Answer»

Correct OPTION is (a) BREADTH FIRST search

The best explanation: LEVEL order is similar to bfs.



Discussion

No Comment Found

Related InterviewSolutions