Implement for book of Algorithm