Search code examples
How to get the first value greater than x in a range with segment tree...


c++algorithmdata-structuressegment-tree

Read More
Does a recursive segment tree require more space than an iterative one?...


pythonalgorithmdata-structuressegment-tree

Read More
Issue with segment tree task...


javaalgorithmsegment-tree

Read More
How to determine the indexes of the leaves in a given subtree in a complete binary tree?...


binary-treesegment-tree

Read More
How to Build a Segment Tree Given a Circular Array?...


arrayssegment-tree

Read More
Is it possible to query number of distinct integers in a range in O(lg N)?...


algorithmdata-structuressegment-treefenwick-tree

Read More
Proof that height of segment tree is ceil(log(n))...


data-structuressegment-tree

Read More
Can Fenwick Tree and Segment Tree in C++ perform insertions and deletions in logarithmic time?...


c++data-structurestreesegment-treefenwick-tree

Read More
How to update a range in segment tree while maintaining max and min?...


c++algorithmdata-structuressegment-tree

Read More
Segment tree built on "light bulbs"...


algorithmoptimizationsegment-tree

Read More
C++ - How to return index of minimum element in range query?...


c++segment-tree

Read More
How is the memory of the array of segment tree 2 * 2 ^(ceil(log(n))) - 1?...


arraysmemorydata-structurestreesegment-tree

Read More
What does "x += x & (-x)" mean?...


c++bit-manipulationbitwise-operatorssegment-treebinary-indexed-tree

Read More
Recurrence function to print range of segment...


algorithmc++14recurrencesegment-tree

Read More
Maximum Sum Elements in Range...


arraysalgorithmsortinggreedysegment-tree

Read More
SPOJ "Card Trick": unable to understand how to apply binary index tree...


algorithmtreesegment-tree

Read More
My segment tree update function doesn't work properly...


c++algorithmsegment-tree

Read More
How can I solve the problem on the segment tree...


algorithmdata-structuressegment-tree

Read More
Is there a way to quickly find in a range contains a number that is in a given range?...


javaarraysalgorithmsegment-tree

Read More
Count the number of ranges [L; R] which has difference between the maximum and minimum is even...


algorithmstackdequesegment-treermq

Read More
XOR queries on a given array...


algorithmxorsegment-treebitwise-xor

Read More
Update in Segment Tree...


algorithmsegment-tree

Read More
How to get the minimum XOR of a given value and the value from a query of range for a given array...


c++algorithmxortriesegment-tree

Read More
CSES Range Query Question: Salary Queries...


algorithmdata-structuressegment-treerange-query

Read More
What are the differences between segment trees, interval trees, binary indexed trees and range trees...


algorithmtreegraph-algorithminterval-treesegment-tree

Read More
Fenwick tree vs Segment tree...


algorithmtreesegment-treefenwick-tree

Read More
Calculating sub array sums with a Fenwick tree...


sortingdata-structuressegment-treefenwick-treearray-sum

Read More
Getting Wrong Answer on CSES Problem Set Hotel Queries...


algorithmdata-structuressegment-tree

Read More
How to get index of segment tree query?...


pythonalgorithmsegment-tree

Read More
Iterative code for segment tree...


c++algorithmsegment-tree

Read More
BackNext