Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

viztraverse-0.0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

viztraverse-0.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file viztraverse-0.0.1.tar.gz.

File metadata

  • Download URL: viztraverse-0.0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for viztraverse-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3706bbd4c3888c0405f561562c9596c2fb1b55cc23c7cf37851272d1a3570005
MD5 9f80b871bf98738d572b5b081aeed11a
BLAKE2b-256 aa96396cd69c25ef5ce2f8aa4e3085f8f2186887571ed03622ca931244e7b4ba

See more details on using hashes here.

File details

Details for the file viztraverse-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: viztraverse-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for viztraverse-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a091c331e4e94d2bc9505e56a0ac092c3a2064b2246dcef3511ba63f6a6a7a0a
MD5 29e2f0043f4a0aacc4889db8e7fe70a5
BLAKE2b-256 a898d7f37806f77146df5a66c5a91aefc1b0aa08be2093859ad68ea6dfcdd39b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page