Harder instances!
Comment prefix | # |
---|---|
Given input | 10 1 10 2 8 7 4 6 3 5 9 |
Expected output | 6 |
Comment prefix | # |
Given input | 10 10 7 4 6 3 5 1 8 2 9 |
Expected output | 6 |
Comment prefix | # |
Given input | 10 10 9 7 6 5 3 2 1 8 4 |
Expected output | 6 |
Comment prefix | # |
Given input | 10 10 7 1 6 4 8 2 5 3 9 |
Expected output | 5 |