BaşlayınÜcretsiz Başlayın

Using breadth first search in binary trees

In this video, you learned how to implement the breadth first search (BFS) algorithm. As you saw, BFS explores the nodes of a binary tree level-by-level.

Given this binary tree, what order will the BFS algorithm follow?

Graphical representation of a binary tree.

Bu egzersiz

Data Structures and Algorithms in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

İnteraktif egzersizlerimizden biriyle teoriyi pratiğe dökün

Egzersizi başlat