You are viewing a single comment's thread. Return to all comments →
Even shorter palindrome check for the OCD amongst us:
(int a) -> (""+a).equals(""+new StringBuilder((""+a)).reverse());
Seems like cookies are disabled on this browser, please enable them to open this website
Java Lambda Expressions
You are viewing a single comment's thread. Return to all comments →
Even shorter palindrome check for the OCD amongst us: