O(n^2) O(1) #Monacher Algo is better at O(n)

http://www.felix021.com/blog/read.php?2040