Description
Solutions
Array Manipulation
๐Ÿ”ฅ FULLTIME

Plz check out the source image below for the original problem statement ๐Ÿฅฐ

Example 1:

Input:  queries = ["+4", "+5", "+6", "+4", "+3", "-4"], diff = 1
Output: [0, 0, 1, 2, 4, 0]
Explanation:
Plz check out srcImages below for the explanation ๐Ÿ˜‰
Constraints:
    ๐Ÿข
Thumbnail 0
Thumbnail 1
Testcase

Result
Case 1

input:

output: