Skip to content

Vikram013/SegmentTreeVisualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SegmentTreeVisualizer

A java app to visualize build and query function of Segment Tree.

This is a JAVA APP named Segment Tree Visualizer 🌳 . This app shows the building visualization of Segment Tree thorugh cool animation for some added functions like Sum, Max, Min and Xor. I have also added query feature which accepts l and r integer values (indices between which query has to be processed (0 based index)) to show how query works on Segment Tree using animation and the highlighted nodes at last of query indicates these/this nodes/node are from which answer came (of which query is called ie, min,max,sum,xor).

To run the project you can also download the files and and open it in Visual Studio Code and shoud have all java dependency (mentioned at last) then navigate to App.java and click the Run option. Hope you enjoy it.

Screenshot (6) Screenshot (7)

About

A java app to visualize build and query function of Segment Tree.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages