Tag: bfs
Teaching Kids Programming: Videos on Data Structures and Algorithms Given two integers start and end, return a sorted list of integers such that every number e is between start …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a n-ary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a binary tree root, return whether for every node in the tree other than the leaves, its value is …
Teaching Kids Programming: Videos on Data Structures and Algorithms You are given a two dimensional integer matrix, representing a maze where 0 is an empty cell, and 1 is …
Teaching Kids Programming: Videos on Data Structures and Algorithms Given a binary tree root, return whether all values in the tree are the same. Constraints n ≤ 100,000 where …