News for hackers. Stuff that matters.
Re:Solving the first 100 Project Euler problems using 100 la... by eru on Thursday January 16, 2025 @07:14PM (#42732619)
IMHO, Project Euler is a lot harder than LeetCode and requires a lot more math.

I'm not sure why you would want to solve it many times and committing those solutions to memory? I think you would be better off using some of the time to just read some text books?

For some of Project Euler https://www2.math.upenn.edu/~wilf/gfology2.pdf is a good math book to consult. The techniques in there will allow you to solve some of the problems with just pen and paper (and perhaps a pocket calculator, if you are too lazy to do the arithmetic by hand, but no need for a full blown programmable computer), especially the first few problems if memory serves right. Eg where they ask you to add up the first few billion even terms of the Fibonacci numbers and similar; you can just derive a simple closed formula and evaluate that by hand.

Re:Solving the first 100 Project Euler problems using 100 la... by vram22 on Friday January 17, 2025 @05:47AM (#42736177)
What is a closed formula?
Re:Solving the first 100 Project Euler problems using 100 la... by drysine on Friday January 17, 2025 @07:04AM (#42736671)
Re:Solving the first 100 Project Euler problems using 100 la... by vram22 on Saturday January 18, 2025 @01:58AM (#42746459)
Thanks.