Java recursion Index out of range 1
I am currently trying to figure out why the cases that end with x results in an OutOfBoundsError like the 3 test cases below. The assignment is to count the number of ‘x’ in a string; if an ‘x’ is follow by another ‘x’ counted as double. Thank you, and I would very grateful if… Read More Java recursion Index out of range 1