Algorithms

I post all the algorithms I use to solve problems online here.