algorithm 3 Codeforce Round 926 Feb 20, 2024 Binary indexed tree Oct 4, 2023 Segment Tree Sep 17, 2023