3 ms·
Some problems simply will never return the result if you brute force it. I've run a brute-force solver and written the elegant approach while I waited for a res
by sixstringtheory 9y ago
Some problems simply will never return the result if you brute force it. I've run a brute-force solver and written the elegant approach while I waited for a result that'd never come.
Most of the elegant solutions do exist in libraries out there, but the point is to pass down the underlying knowledge.
I don't think it's really fair to liken something like mathematics to the startup world, something that has all sorts of nondeterministic factors involved.
- jacquesm 9y agoSome of the answers are explicitly formulated in such a way that your brute force mechanism will not work even though in a practical setting that brute force answer would be more than accurate enough for use. So project Euler does not always steer you simply to a correct answer, they also want you to achieve that answer in a particular way.