Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Visualizer.java #33

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Nisheshg5
Copy link

A class to easily visualize linked list and binary tree in Java. You just need to pass the head node or the root to the static methods.

A class to easily visualize linked list and binary tree in Java
@hediet
Copy link
Owner

hediet commented Mar 2, 2020

Hey, thank you for your PR ;) I appreciate the effort you put into it!
What do you think of using a JSON serializer rather than building the string on your own?

Have you had a look at the java demo?

@Nisheshg5
Copy link
Author

I did. But I was having issues with the import and I have no experience with JSON, so I decided to use Map and List to manually create a string.
This is easier for beginners like me to understand and thought it may help others too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants