Don't worry, we can regress our programming skill after 6 months of management, management of agents I mean
jldugger 1 day ago||
Project Euler is like this a lot -- it's presented as a coding challenge but half the problems can be optimized to
return 5 # because math
Jtsummers 1 day ago|
At least the site itself is honest about it, describing the challenges as "mathematical/computer programming problems". I always found it weird when people recommended them as ways to learn a new programming language because, perhaps because of my own math background, I ended up solving most of them with math and so little programming. Where the programs only used the basics of any language so that nothing novel would be learned by rewriting except for how loops look in two different languages (or don't, in the case of some FP languages), or how arrays look, etc.
helpfulfrond 13 hours ago||
A lot of life is "use it or lose it," due to limited resources I imagine.
aesthesia 1 day ago||
I've had the same experience looking back at solutions to old problem sets and wondering how I ever came up with them.
dominicrose 1 day ago||
Even for a math teacher the math isn't the hard part of the job.
markus_zhang 1 day ago||
I could be wrong but I feel this solution is not proved to be correct, but could be nevertheless the answer.
On the other side, my Math ability definitely goes down to Calculus and I definitely forgot most about geometry.
meindnoch 1 day ago||
Manhattan distance is 2n steps. Of these, exactly n are to the right, the rest is downwards. A 2n step path is completely determined by choosing which n steps will be to the right. Hence 2n choose n.
This is high school math.
Sharlin 1 day ago||
If you want to keep your math brain working, and to find use for any and all the math you learned in school, look no further than graphics programming.
noosphr 1 day ago|
All problems in project Euler have closed form solutions.
The computer programming part of it is just a quick way to develop candidate solutions.
iwsk 1 day ago|
https://projecteuler.net/problem=76
does this have a closed form solution?
vast majority of the problems don't seem to have a closed form solution