←back to thread

Project Euler

(projecteuler.net)
261 points swatson741 | 1 comments | | HN request time: 0s | source
Show context
sizzzzlerz ◴[] No.45905768[source]
i was a euler fanatic some years ago reaching problems in the 500s albeit, skipping problems along the way. at that point, too many problems required a deeper math background than i possessed so i abandoned it. what amazed me was that others composed solutions that solved problems in mere milliseconds that brute force approaches would still be running when the universe cooled to absolute zero.
replies(1): >>45905880 #
rbongers ◴[] No.45905880[source]
I only reached the 100s back in the day. What amazed me was that it seemed like every problem had a paper solution, when it would take any computer algorithm thousands or millions of computations to solve the same problem.
replies(1): >>45907275 #
1. rufus_foreman ◴[] No.45907275[source]
I played around with some of the easier problems, my favorite was a couple times when starting with the obvious brute force solution in code and then refactoring and simplifying it iteratively ended up getting me the paper solution.