- If we can solve for number of elements
<= k, say given byleq(k)wherekis an integer, then we can also solve for number of elements= k, given byeq(k) := leq(k) - leq(k - 1). - While simple, this is hugely benificial in many situations because
<=kcan be implement as some kind of prefix sum data structure plus binary search, which is much less error prone to hack up than exact equality.