
Keonta H. answered 10/30/20
BS in Computer Science with 10 years of experience.
what was your error message? the input.Length will be out of bounds. It should start with input.length-1. If you send the error message, it will be easier to find the error.