4 ms·
I used this to memorize/train problem solving (applied to compsci problems). I solve a problem at SPOJ [1], Codeforces [2], or project euler [3] or other simil
by botexpert 10y ago
I used this to memorize/train problem solving (applied to compsci problems).
I solve a problem at SPOJ [1], Codeforces [2], or project euler [3] or other similar sites. Put it as a card in Anki and revisit it after it appears again.
Solving the problem for the first time requires some research into algorithms and methods (took as much as 4 hours when I was just starting), and solving it again is remembering the tools.
Nice thing is that the evaluator tells me if I'm right or wrong, or if it takes too much time I've obviously forgotten how it's done.
I unfortunately stopped doing it as most problems take more than a minute to solve (each needs about 10-150 lines of code [depends on problem complexity]) and I eventually had to do 10-20 per day. At a particular moment in my life I didn't have time. I'm thinking of starting it again though as I've noticed my coding was much more fluent.
[1]: http://www.spoj.com/ http://www.spoj.com/
[2]: http://codeforces.com/ http://codeforces.com/
[3]: https://projecteuler.net/ https://projecteuler.net/