Is it possible to create vector of segment trees. There are two kind of requirements. [C++]

Revision en2, by Boring_Day, 2023-04-09 06:46:45

If it is possible to create a vector of class then it should not be an issue to create vector of segment tree in c++.

Can you help me in these two things.

1st) when the size of segment tree at each index is same.

2nd) when the sizes at different indices are different.

Even if you help me solve the 1st thing i will be thankful to you.

Tags help, implementation

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English Boring_Day 2023-04-09 06:46:45 15 Tiny change: 'vector of classes in c++. \' -> 'vector of segment tree in c++. \'
en1 English Boring_Day 2023-04-09 06:37:38 435 Initial revision (published)