Some popular algorithm implementation