You are viewing a single comment's thread. Return to all comments →
My if statement if(s.charAt(i)==s.charAt(i+1)) will throw an out of bound exception
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 →
My if statement if(s.charAt(i)==s.charAt(i+1)) will throw an out of bound exception