OA [CodeSignal] Adventure Levels
Uber interview questions · Hard · OA round · 5 tests
For every starting level, compute how many consecutive stages you can clear before your energy check fails.
The full question, tests and reference solution are available with a plan that includes Uber.
Run your code with Ctrl+Enter to see results.