You are viewing a single comment's thread. Return to all comments →
No need to add so many conditions. Only look at two char ahead. It will be reduces to two if conditions with two statements in each.
Seems like cookies are disabled on this browser, please enable them to open this website
Palindrome Index
You are viewing a single comment's thread. Return to all comments →
No need to add so many conditions. Only look at two char ahead. It will be reduces to two if conditions with two statements in each.