NeoAlgo icon indicating copy to clipboard operation
NeoAlgo copied to clipboard

Traversals in Binary Tree

Open Abhijit2505 opened this issue 6 years ago • 38 comments

🚀 Problem Statement

Used Data Structure - Binary Tree

A binary tree can be traversed in the following ways,

  • Preorder Traversal
  • Postorder Traversal
  • Inorder Traversal

Have you read the Contributing Guidelines on Pull Requests?

Motivation

Traversal techniques use two more classical Algorithmic Design Approach namely recursion & iteration over loop.

Available Programming Languages:

  • Preorder Traversal

    • C++ - @AkM-2018
    • Python - @pradeep98
    • C - @rohangawhade
    • Java - @Harshak50
    • GO
  • Postorder Traversal

    • C++ - @Kritika37
    • Python - @AdityaJ7
    • C - @PREETIKATANEJA
    • Java - @nlok5923
    • GO
  • Inorder Traversal

    • C++ - @bagladivyang03
    • Python - @rutujadhanawade
    • C - @cherryWood55
    • Java - @SangeetaMishra
    • GO - @Kathan-Vakharia

Method To Take on the issue

Do mention your interest to take on the issue in the format <Traversal Name> - <programming language> For example - preorder Traversal - python Please choose any one traversal and one programming language only.

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

I'm on for PYTHON. @Abhijit2505 please assign the task.

pradeep98 avatar Aug 16 '20 02:08 pradeep98

@pradeep98, I would like you to read the complete issue again, and the section Method To Take On the Issue properly.

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

preorder Traversal - python inorder Traversal - python postorder Traversal - python @Abhijit2505

pradeep98 avatar Aug 16 '20 02:08 pradeep98

@pradeep98 choose any one. Should I assign the first one i.e. preorder Traversal

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

Yeah I'm fine with it. preorder Traversal - python

pradeep98 avatar Aug 16 '20 02:08 pradeep98

@pradeep98 get stared with preorder Traversal - python. Also, make sure that you have gone through the Contributions Guideline thoroughly. All the Best! Happy Coding !

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

Preorder Traversal - java I would like to work on this.

Harshak50 avatar Aug 16 '20 02:08 Harshak50

Preorder traversal - C++ I would like to work on this.

AkM-2018 avatar Aug 16 '20 02:08 AkM-2018

Inorder traversal - c++ I would like to work on this

bagladivyang03 avatar Aug 16 '20 02:08 bagladivyang03

Inorder traversal - Golang or C or python (anyone of these in order if available)

Kathan-Vakharia avatar Aug 16 '20 02:08 Kathan-Vakharia

@AkM-2018 get stared with Preorder Traversal - C++. Also, make sure that you have gone through the Contributions Guideline thoroughly. All the Best! Happy Coding !

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

@bagladivyang03 get stared with Inorder Traversal - C++. Also, make sure that you have gone through the Contributions Guideline thoroughly. All the Best! Happy Coding!

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

@Kathan-Vakharia , this is the second issue assigned to you, Do get started with Inorder Traversal - GOLANG. Hope you are enjoying the program as well. Do share your experience with us in the communication channels. All the very best. Happy Coding.

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

I would like to work on post order traversal in python

AdityaJ7 avatar Aug 16 '20 02:08 AdityaJ7

@Harshak50 get stared with Preorder Traversal - Java. Also, make sure that you have gone through the Contributions Guidelines thoroughly. All the Best! Happy Coding!

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

@AdityaJ7 get stared with Postorder Traversal - Python. Also, make sure that you have gone through the Contributions Guidelines thoroughly. All the Best! Happy Coding!

Abhijit2505 avatar Aug 16 '20 02:08 Abhijit2505

I would like to work on this issue in C++ Postorder traversal

Kritika37 avatar Aug 16 '20 03:08 Kritika37

@Abhijit2505 I would like to work on postorder and in order traversal using java. Please assign it to me.

nlok5923 avatar Aug 16 '20 03:08 nlok5923

Inorder traversal - C I would like to work on this issue.

cherryWood55 avatar Aug 16 '20 03:08 cherryWood55

@Kritika37 get stared with Postorder Traversal - C++. Also, make sure that you have gone through the Contributions Guidelines thoroughly. All the Best! Happy Coding!

Abhijit2505 avatar Aug 16 '20 03:08 Abhijit2505