Input 20 14 20 15 20 14 10 11 18 2 5 11 5 12 8 17 16 6 1 16 3 4 16 1 16 9 19 12 16 1 11 19 7 14 1 13 1 14 7 Expected Output 12 21 1 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 1 1 1 1 Stress testing completedUpdate Logs
Note: You can also use F5 to update the logs. This would also retain cursor position while scrolling.