study algorithm  record