Add Pre-Order Tree Traversal
Algorithm:
DS:
Trees
Languages Supported:
- C
- C++ [ Assigned to @chaitanya003 ]
- C#
- Java [ Assigned to @chaitanya003 ]
- Javascript
- Python
Could I do this in C++ and Java ?
I have assigned you the Issue @chaitanya003
Please follow the general guidelines:
- Make a Branch off your Master and work on that.
- Make a proper README of how your Script works and what all libraries and modules you have used.
- Add Proper Comments and focus on Clean Code, in practice.
- Also reference this Issue in your PR so that it becomes easy for us to review.
Ready to implement this in Python! @HarshCasper
Can i do In C can u pls assign me this
I would like to work on this issue in C
@HarshCasper I would like to implement it in PYTHON. I will be implementing it using both recursion and Iterative. Why iterative? Because in recursive function has to add to the stack with each recursive call and keep the values there until the call is finished, the memory allocation is greater than that of an iterative function. This makes the implementation to exceed memory limit and at points time limit as well for high depth trees. Recursive approach makes the problem easy however, implementation using iterative makes it medium to hard problem. Looking forward for your reply.
Please reopen this issue once you add more information and updates here. If this is not the case and you need some help, feel free to seek help from our Telegram or ping one of the reviewers. Thank you for your contributions!