You are given two nums of length changeIndices of length
Initially, all indices from
Choose an index nums[i] by
Mark index changeIndices[s] if nums[changeIndices[s]] equals
Do nothing.
Return the earliest second at which all indices from
Constraints:
nums.length
nums[i]
changeIndices.length
changeIndices[i]
You are given two nums of length changeIndices of length
Initially, all indices from
Choose an index nums[i] by
Mark index changeIndices[s] if nums[changeIndices[s]] equals
Do nothing.
Return the earliest second at which all indices from
Constraints:
nums.length
nums[i]
changeIndices.length
changeIndices[i]