Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Wrong rendering of tree that goes in single direction (left) #1

Open
@Neuroszima

Description

Hello. I recently began to solve leetcode problems and stumbled upon your visualizer. When using it, i tried to look at the tree with following structure:

[1,2,null,1,null,1,null,1,null,1,null,2,null,2,null,2,null,2,null,2]

The online version only draws a single root node and then it shoots to left side, never showing even a second node in that tree.
I use MS Edge and Firefox, both have the same issue. Below is the example. Zooming out does not seem to reveal any more nodes.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /