Comment Comment by alex5207 His explanations are great and just wanted to +1 on the idea of range trees. Adding a reference here to a very lightweight read on range trees:https://courses.csail.mit.edu/6.851/spring10/scribe/lec03.pd... parent alex5207 2 years ago
https://courses.csail.mit.edu/6.851/spring10/scribe/lec03.pd...