Input 30 9 17 23 13 6 19 27 11 2 8 3 5 12 30 5 22 24 20 1 5 21 19 6 17 26 23 26 15 4 16 2 30 13 29 15 7 16 10 22 26 12 19 19 16 22 19 5 11 18 11 24 25 16 14 28 13 11 24 Expected Output 19 35 1 1 1 1 1 2 1 1 1 1 1 2 1 1 1 1 1 1 1 1 1 3 2 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.