Practices of basic general algorithms