pages:
  • 1
Tester SAYS

hey guys, my solution gives correct answers for these test cases:

10 9 6 5 4 4 4 3 2 2 1              // no
9 9 4 4 1 5 4 2 1 6                 // yes
9 5 4 8 11 13 4 7 2 1               // no
13 5 5 4 3 2 1 3 5 1 2 2 1 2        // yes
8 9 7 5 5 4 3 2 1                   // yes
6 11 9 7 5 3 1                      // no
4 1 1 1 1                           // yes
5 10 20 30 40 50                    // no
8 1 7 2 6 4 4 3 5                   // yes

but here on share code i get wrong answer, could anyone provide some more test cases so i can check them to find out my mistake in the code