Tree Deserializer and Visualizer for Python
Project description
VizTreeTraversal
LeetCode Describes Deserialize & Draw here
Often, LeetCode problems require a slight learning curve to feel comfortable using their TreeNode data structure. One helpful portion of the LeetCode website describes a detailed example. Have a look at the linked content here
Using the product
To install, use pip3 and the command land as follows:
pip3 install viztraverse
Once installed you can import the library as follows:
import viztraverse from viztraverse
Then to use the seriealize library:
viztraverse.deserialize([1,1,null,1]);
And, finally to draw:
viztraverse.draw(viztraverse.deserialize([1,1,null,1]);
Troubleshooting
This library requires the correct or proper version for the tkanner library. The problem is specific to MacOS from what the resources say here Nonetheless, if you must face the problem due to failures, here is a common solution:
pip3 install tk
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for viztraverse-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a091c331e4e94d2bc9505e56a0ac092c3a2064b2246dcef3511ba63f6a6a7a0a |
|
MD5 | 29e2f0043f4a0aacc4889db8e7fe70a5 |
|
BLAKE2b-256 | a898d7f37806f77146df5a66c5a91aefc1b0aa08be2093859ad68ea6dfcdd39b |