Chitresh-code / DSA_Worksheet

Worksheet posting DSA problems every day for GNIOT Students to solve and create PR's.
MIT License
17 stars 34 forks source link

Tree Transversal #81

Open Tanishka-22 opened 10 months ago

Tanishka-22 commented 10 months ago

❗Write Code in Only One Language (CPP, C, Java, Python)

Give File Name : treetransversal βœ… In respective language folder

πŸ“‘ DESCRIPTION

Tree Transversal

Difficulty

Problem Statement: A program for the transversal of a tree. The goal is to visit each and every node of a tree in three ways In-order, Post-Order and Pre-Order.

Sample Input 1(for in order) image

Sample Output 1(for in order) 5 -> 12 -> 6 -> 1 -> 9

Sample Input 2(for post order) image

Sample Output 2 5 -> 6 -> 12 -> 9 -> 1

Sample Input 3(for pre order) image

Sample Output 3 1 -> 12 -> 5 -> 6 -> 9

Link of Problem If Copied from Some Site

FarazRashid commented 10 months ago

Can I work on this? I'm well versed in DSA

Tanishka-22 commented 10 months ago

@Chitresh-code I created this issue in context of the pull request I sent before. Please assign it to me and consider the new pull request. https://github.com/Chitresh-code/DSA_Worksheet/pull/82#issue-1956381606

siya100 commented 10 months ago

@Tanishka-22 can you please assign this issue to me

AshaHolla commented 10 months ago

I would like to work on this as well. Pls assign Thanks

GovindaRohith commented 10 months ago

Can you please assign it to me

FarazRashid commented 10 months ago

I had already completed this before and made a pull request, please have a look at the pull request

GovindaRohith commented 10 months ago

You wrote only in C++, right??, So can I write in C?

siya100 commented 10 months ago

I have made the contribution.can you please review it and merge it

On Wed, Oct 25, 2023, 7:32 PM GovindaRohith @.***> wrote:

You wrote only in C++, right??, So can I write in C?

β€” Reply to this email directly, view it on GitHub https://github.com/Chitresh-code/DSA_Worksheet/issues/81#issuecomment-1779348285, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUMUFBSBNLHZXC22U6PZZ4LYBELW3AVCNFSM6AAAAAA6LPOXTSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZZGM2DQMRYGU . You are receiving this because you were assigned.Message ID: @.***>

GovindaRohith commented 10 months ago

I have contributed in C language. Can you please review and merge