DEV Community


Discussion on: Project Euler #4 - Largest Palindrome Product

maxart2501 profile image
Massimo Artizzu • Edited

Not linear... but I think (without any actual proof 🤷‍♂️) (I'm a fraud 🤦‍♂️) that my solution does it in logarithmic time:

Edit: scratch that, no way it's not quadratic 😂 But then again, it's faster than the extensive check.