Tree Level Order Traversal (BFS) - HackerRank Data Structures Solutions in C/C++

preview_player
Показать описание
HackerRank solution for Tree Level Order Traversal in C++. Level order traversal is also referred to as Breadth First Traversal, which you might be familiar with if you've tried the Breadth First Search (BFS) algorithm in the past. Level Order Traversal on binary trees serves to explore and visit nodes by level in the tree, which is the opposite of Depth First Traversal or Depth First Search (DFS). Being familiar with Level Order Traversal can help better understand graph theory algorithms.

Рекомендации по теме
Комментарии
Автор

This was a great video. You explained everything well.

MsEady