• + 0 comments

    The values of x and y are the items at queries[i][1] and queries[i][2].

    let x = queries[i][1]; let y = queries[i][2];

    I had to read the instruction 10 times to understand. What it means by (1 or 2) x y is that in the Ith index of queries, the first value will be 1 or 2, the second value will be what x's value will be and the third will be y's value.

    Hope this hlps.