Skip to content

Latest commit

 

History

History

tree_intersection

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Tree Intersection

Output the set of values common to two trees.

Challenge

Algorithm input consists of two binary trees. Output is the set of values found in both trees. No standard library functions are to be used.

Solution

Whiteboard Images