0

How can we implement m way tree in the python through the array or List.

I want to create a program that create a m way tree.and when we pass the parent node it return all the child and grand child node

14th Sep 2019, 7:06 PM
Saurabh Sharma
Saurabh Sharma - avatar
5 Answers
0
after creating that tree i want to write a function which return all the child node of the given parent node
14th Sep 2019, 7:26 PM
Saurabh Sharma
Saurabh Sharma - avatar
+ 1
https://code.sololearn.com/cdh7V1GdGtpt/?ref=app https://code.sololearn.com/cKnv2rOMmW5u/?ref=app these are java but they maybe will help you đŸ€·â€â™‚ïž the first one is simple the second one is complicated/advanced
14th Sep 2019, 7:37 PM
Anton Böhler
Anton Böhler - avatar
+ 1
thanks my friend
14th Sep 2019, 7:44 PM
Saurabh Sharma
Saurabh Sharma - avatar
0
what do you have problems with? (like exactly) do you have attemps? do you have some thoughts?
14th Sep 2019, 7:19 PM
Anton Böhler
Anton Böhler - avatar
0
My friend i want to create a m way tree which have no of nodes
14th Sep 2019, 7:25 PM
Saurabh Sharma
Saurabh Sharma - avatar