Comment Comment by hackermailman Erik Demaine's DS class has a bunch of range trees and cascading method to speed up queries https://courses.csail.mit.edu/6.851/spring21/lectures/ parent hackermailman 2 years ago