Show HN: In-browser debugger that draws data structures

(ntree.ai)

5 points | by iamirzhan 4 hours ago ago

1 comments

  • iamirzhan 4 hours ago ago

    I built a debugger specialised for learning data structures and algorithms.

    It draws the state of the program at each line. It's an actual debugger that runs with the code, so the results are deterministic and show the real state.

    Like a normal debugger, it lets you inspect stack frames, pointers, and objects. But instead of showing them as raw values, it draws every data structure in its own way. It knows how to draw all the common data structures like trees, graphs, queues, stacks, linked lists, etc.

    You can try it on popular interview problems (write your code or paste from the "Solutions" tab). Python, JavaScript and Java are supported today. More are coming, but I'm sharing it now to get some feedback.

    Everything is free. Feedback would be really appreciated. Let me know what you think.