Input 2 8 6 4 7 7 2 6 7 6 6 2 5 0 5 5 0 Expected Output 8 0 0 0 0 0 0 0 0 2 1 1 Stress testing completed
Note: You can also use F5 to update the logs. This would also retain cursor position while scrolling.