← Back
00:00

OA [CodeSignal] Maximum Protected City Population

CodeSignal OA Bank interview questions · Medium · OA round · 6 tests

Shift guards one city to the left at most once each, in whatever order helps, so the guarded population is as large as possible.

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

Idle