S
S
sswwssww2020-05-31 21:43:05
Python
sswwssww, 2020-05-31 21:43:05

How to visualize the path traveled through a binary tree?

There is a path passed through the binary tree, for example: 010011011010
How to visualize this as a "part of the binary tree" using Python?
An example of what it should look like (the picture has nothing to do with the "path" above):
NgdaQ.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2020-05-31
@alfss

https://plotly.com/python/tree-plots/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question