Help in a range query question
Hello, can any one please tell how to solve this question
Leetcode Weekly 498 Solution Discussion