The statement says Output False or True but we must return a integer. Please use a bool instead.
The statement also says “Do not use extra space” yet the editorial solution uses an ArrayList<>
Last: 2147447412 is a palindrome but the test thinks it is not.
Thank you very much.