What is the best Implementation of Segment Trees?

Revision en2, by DCSekhara, 2020-05-28 11:31:51

Recently I came across this blog Efficient and Easy segment trees. After reading this I felt that the normal implementation with 5 arguments is easier to understand and implement(in my opinion). I want to know which of the implementations of segment-tree is better so that if the one written in the blog is better I will try to learn it. (better in the sense that it can be easily be applied in some new question)

Tags #segment tree, #implementaion


  Rev. Lang. By When Δ Comment
en2 English DCSekhara 2020-05-28 11:31:51 15
en1 English DCSekhara 2020-05-28 10:38:56 493 Initial revision (published)