Sponsored
Use these hints if you're stuck. Try solving on your own first.
Simulate the process and fill corresponding numbers in the designated spots.
Solve with full IDE support and test cases