You are viewing a single comment's thread. Return to all comments →
maybe try s.length()-1 ? looks like charAt(i+1) would be out of range
Seems like cookies are disabled on this browser, please enable them to open this website
Super Reduced String
You are viewing a single comment's thread. Return to all comments →
maybe try s.length()-1 ? looks like charAt(i+1) would be out of range