More informations about Segment Trees link.
For the project to run you need to install the sbt build tool for scala.
$ sdk list java
$ sdk install java 11.0.4.hs-adpt
$ sdk install sbt
In the project folder run
sbt
and then
run main
for the execution of the program
The program provides a visualization figure representing Segment trees using graphviz with commands only for linux