• + 0 comments

    The concept used here is popular by the name "Difference Array" you can google it by "difference array" or check it out here https://www.geeksforgeeks.org/difference-array-range-update-query-o1/ btw the approach is really awesome and will make you learn something new and interesting