File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Binary tree
2- You have to build simple binary- tree (can be in console just node of this tree or you can output it with graph in HTML/CSS)
2+ You have to build a simple binary tree (there can only be a node of this tree in the console or you can plot it with HTML/CSS)
33
4- Core rules:
5- - left lower numbers/right higher numbers rule have to work for all "rows"
6- - added option/automatic sorting numbers from lowest to highest (sorting by searching through tree, not by other sortings)
7- - have to work for all integer numbers
4+ Basic principles:
5+ - left = smaller
6+ - for each node
7+ - right = greater
8+ - for each node
9+ - (optional) adding an option to automatically sort numbers from the lowest to the highest (sorting by searching the tree, not by other sorting)
10+ - they must work for all integers
11+ - adding the possibility of adding new values to the tree
812
913Helpful links:
1014
You can’t perform that action at this time.
0 commit comments