Counting Minimums with Segment Tree
Author: Benjamin Qi
segment tree that keeps track of minimum and # of minimums
Focus Problem – read through this problem before continuing!
Join the USACO Forum!
Stuck on a problem, or don't understand a module? Join the USACO Forum and get help from other competitive programmers!
Give Us Feedback on Counting Minimums with Segment Tree!
Leave suggestions for us by making a post on the USACO Forum! Ex: Unclear sections, mislabeled problems, etc.