OA [CodeSignal] Shortest Good Subarray
CodeSignal OA Bank interview questions · Medium · OA round · 6 tests
Find the length of the tightest window that holds k or more distinct integers.
The full question, tests and reference solution are available with a plan that includes CodeSignal OA Bank.
Run your code with Ctrl+Enter to see results.