Analytical Algorithms

I am new to programming and i wanna know about some good mathematical logics…something like the quicksort used in this jan15 long contest…can anyone suggest me some more like the above mentioned logics?