Skip to content

Instantly share code, notes, and snippets.

@geowa4
Last active December 12, 2015 07:19
Show Gist options
  • Save geowa4/4735809 to your computer and use it in GitHub Desktop.
Save geowa4/4735809 to your computer and use it in GitHub Desktop.
Project Euler Problem #4
findPalindrome :: Int
findPalindrome = maximum [x | y <- [100..999], z <- [y..999], let x = y * z, let s = show x, s == reverse s]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment