Tinder Interview Question

Implement the following method signature` boolean isPalindrome(int n)`

Interview Answers

Anonymous

Jan 22, 2021

There's quite an extended back and forth in actual interviews for questions like this, so nothing quite like real practice. The Prepfully Tinder Android Engineer experts have actually worked in this role, so they're able to do an honest-to-God accurate mock, which really puts you through the paces. prepfully.com/practice-interviews

Anonymous

Jun 17, 2017

Keep removing the least significant digit of the number using %10 and save that number in a stack and a list at the end just iterate the stack and the list at the same time and compare the values.