• + 1 comment

    i also want to know , did you get all testcases pass using segment tree? . If yes may you please share your solution applying segment tree