• + 2 comments

    why we are subtracting k at b interval? why you are subtracting k to a[b] not a[b-1]?