Quate a paragraph in this book to explain the reason for learning algorithms:
When we use a computer to help us solve a problem, we typically are faced with a number of approaches. For small problems, it hardly matters which approach we use, as long as we have one that correctly solves the problem. For huge problems (or applications where we need to solve huge numbers of small problems), however, we quickly become motivatied to devise methods that use time and space efficiently.
网友评论