You are viewing a single comment's thread. Return to all comments →
Why i=0 ... it should be i=1 as "s.charAt(i-1)" will be "s.charAt(-1)".
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 →
Why i=0 ... it should be i=1 as "s.charAt(i-1)" will be "s.charAt(-1)".