My algorithms to solve problems