Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 574 Bytes

File metadata and controls

14 lines (10 loc) · 574 Bytes

BinaryTree

In this project binary trees are randomly generated and then showed.

You can generate a random binary tree with: int height = 3; BinaryTree mybinarytree = BinaryTree.generaCasuale(height);

You can show your binary tree with: new Visualizzatore("Name of window", new Dimension(400,400), new Point(0,0), mybinarytree); you have to state the name of the window, its dimension, its position on your desktop and pass your binary tree.

Please do not treat this code bad and have fun! =)

Downloaded from https://github.com/HerrAugust/BinaryTree