DEV Community

loading...

Discussion on: Project Euler #4 - Largest Palindrome Product

Collapse
flrnd profile image
Florian Rand

cool! yes so much simple

function isPalindrome(num: number): boolean {
  return num === reverseInteger(num);
}

thanks!