15.4-6 The code is maybe not right.It outputs the error answer
Author: SemonlkfCreated Jan 29, 2023Updated Jun 4, 2023
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)
Source: gzc/CLRS
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)
Source: gzc/CLRS