ParentFull threadabra0·In competitive programming circles I've heard the basic idea called root or sqrt decomposition.View on HN