title: Are interval, segment, fenwick trees the same?
body: <p>Today i listened a lecture about fenwick trees (binary indexed trees) and the teacher says than this tree is a generalization of interval and segment trees, but my implementations of this three data structures are different.
  Is this afirmation true? and Why?</p>