'Implement an algorithm that creates a binary tree

I am a beginner with Python and I have a problem with one of the tasks. I have to use nametuple and other collections to implement an algorithm that creates a binary tree. I could use some pointers or very guidance on how to do this.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source