gzc / CLRS

:notebook:Solutions to Introduction to Algorithms
MIT License
9.44k stars 2.75k forks source link

15.4-6 The code is maybe not right.It outputs the error answer #348

Open Semonlkf opened 1 year ago

Semonlkf commented 1 year ago

when I input :

6 1 3 5 4 6 8 the right answer is to be: 5 but the program outputs: 6(the value of len)

patty111 commented 1 year ago

The code works fine. Maybe check again. image