Example 1
Example 2
n == nums.lengthm == operations.length1 <= n, m <= 105All the values of nums are distinct.operations[i].length == 21 <= nums[i], operations[i][0], operations[i][1] <= 106operations[i][0] will exist in nums when applying the ith operation.operations[i][1] will not exist in nums when applying the ith operation.Example 1
Example 2
n == nums.lengthm == operations.length1 <= n, m <= 105All the values of nums are distinct.operations[i].length == 21 <= nums[i], operations[i][0], operations[i][1] <= 106operations[i][0] will exist in nums when applying the ith operation.operations[i][1] will not exist in nums when applying the ith operation.