Common algorithms of ACM