help myself review some algorithms