Closed Shubhayu-Das closed 5 years ago
I would like to work on this if you accept the issue.
@sateslayer you're assigned.
I've have some doubts regarding the validation which I'm supposed to provide:
This is why I thought of changing this issue to the implementation to only binary trees instead of generic trees. This would be much easier to implement and useful too in programming. Raw trees are hardly ever used; implementing binary trees using a generic tree code is very troublesome
Waiting for your reply so that I can proceed accordingly.
Okay, make it a binary tree!
I'll make the requisite changes in the issue above?
okay
Do the checklist before filing the issue:
NOTE: Provide a clear and concise description of the feature that needs to be added! Or if its a bug, then provide the necessary steps to reproduce it along with screenshots.
Tree data structure is widely used in competitive programming owing to it's nature of reducing O(n) problems to O(log n) problems. I suggest we implement a data structure names BinaryTree, which can be further built up on in the future.
We can can further implement Binary Search Trees, Balanced Binary Search Trees, Segment Trees etc in the future, using this basic Binary Tree implementation.
The Binary Tree will have the following functions: