You are viewing a single comment's thread. Return to all comments →
I was doing the same thing and my code was throwing array out of bounds exception. I don't know where I was wrong until I saw your code. It happens to me all the time.
Same I had the situation . Even two test cases was paased still i could not figured out what had happened.