← Back
00:00

Evens Before Odds

Oracle interview questions · Medium · Coding round · 6 tests

Count the fewest arbitrary swaps needed to move every even number in front of every odd number.

The full question, tests and reference solution are available with a plan that includes Oracle.

Idle