Code about algorithms