Python Segment Tree Geeksforgeeks Practice Problems