Problem 220 · Hard

Contains Duplicate III

Find nums[i] and nums[j] where |nums[i]-nums[j]|<=t and |i-j|<=k.

Open the interactive visualisation