DEV Community

loading...

Discussion on: Project Euler #4 - Largest Palindrome Product

Collapse
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: dev.to/maxart2501/comment/b9m6

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