Skip to content

Latest commit

 

History

History

list-of-depths

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

3.4.3. List of Depths

Question Solution
Given a binary tree, design an algorithm which create a linked list of all the nodes at each depth (eg. if you have a tree with depth D, you'll have D linked lists). List of Depths