Some algorithms should be recorded for myself.