some tips to study algorithm