process of my studying algorithm