NeoAlgo icon indicating copy to clipboard operation
NeoAlgo copied to clipboard

Add Pre-Order Tree Traversal

Open HarshCasper opened this issue 6 years ago • 7 comments

Algorithm:

Pre-Order Tree Traversal

DS:

Trees

Languages Supported:

  • C
  • C++ [ Assigned to @chaitanya003 ]
  • C#
  • Java [ Assigned to @chaitanya003 ]
  • Javascript
  • Python

HarshCasper avatar Jun 27 '20 03:06 HarshCasper

Could I do this in C++ and Java ?

chaitanya003 avatar Jun 27 '20 10:06 chaitanya003

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.

HarshCasper avatar Jun 27 '20 11:06 HarshCasper

Ready to implement this in Python! @HarshCasper

GSNCodes avatar Jun 28 '20 10:06 GSNCodes

Can i do In C can u pls assign me this

bagladivyang03 avatar Jul 20 '20 04:07 bagladivyang03

I would like to work on this issue in C

Yash-Thakare22 avatar Aug 12 '20 15:08 Yash-Thakare22

@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.

pradeep98 avatar Aug 15 '20 07:08 pradeep98

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!

github-actions[bot] avatar Oct 15 '20 00:10 github-actions[bot]