Open heratyian opened 3 months ago
This is a great lesson!
Here are some questions that came to mind as I went through:
nil
but still has children? Or would that case never happen in our specific implementation?nil
( e.g. TreeNode.new(nil, TreeNode.new(5), TreeNode.new(6))
and a nil
node (as in node = nil
) be addressed somewhere, or do we want to let students "discover" it?
@DPI-WE/teaching-assistants @rsfarzo