Problem 3718 · Easy
Walk the positive multiples of k in order and stop at the first one that does not appear in nums.
Open the interactive visualisation