Back to the 2023 paper

Module 4: Graph and Tree Algorithms

20232m

Level order traversal of a rooted tree can be done by starting from root and performing:

  • (i) Depth first search
  • (ii) Breadth first search
  • (iii) Pre-order traversal
  • (iv) In-order traversal

Similar questions