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