Category Archives: Algorithms

PostScript – a quick way to visualize algorithms

Sometimes (for example during a programming contest) there is a need of a quick tool for visualizing outcome of an algorithm. PostScript might be a very useful tool then.

Posted in Algorithms, C++ | Tagged , , | Leave a comment

[Python,Algorithms] Fast Modular exponentiation script

If we want to know the last ten digits of number an – we have to evaluate expression an mod 1010. Using brute force approach, we have to do O(n) ( If you don’t understand big „O” notation, visit: Big … Continue reading

Posted in Algorithms, Python | Tagged , , , | 3 Comments

[Algorithms] List of online judges/algorithmical contests

Here is a list of websites, which are sets of algorithmical tasks or online contests: http://www.topcoder.com http://www.spoj.pl http://icpcres.ecs.baylor.edu/onlinejudge/ http://acm.timus.ru http://acm.mipt.ru/judge http://www.uwp.edu/sws/usaco/ http://acm.sgu.ru/ http://projecteuler.net/

Posted in Algorithms | Tagged , , | Leave a comment