Finally, we can simply pass the root node to the breadth_first_search method to traverse the tree.
PYTHON
1depth_first_search(root_node)

Finally, we can simply pass the root node to the breadth_first_search method to traverse the tree.
1depth_first_search(root_node)