Back to course home
0% completed
Vote For New Content
The test Java code runs, but when I do a walk through of the second array the fi...
Ben
May 4, 2022
The test Java code runs, but when I do a walk through of the second array the first do loop and second run of findIndex() on fast results in direction != isForward and should result in false. findNextIndex() should exit with -1 whenever this occurs, but it doesn't here. What am I missing - arr[2] == -1 and arr[0] == 2?
0
0
Comments
Comments
On this page