Quora Feeds
Active Member
Thomas Cormen
Algorithms are clearly specified means to solve problems.
You want to know two things about an algorithm:
That's why we study algorithms. We want to know that our code is based on ideas that solve the problem and that we're using resources efficiently. And we want to know that our solution is correct and efficient for all possible situations, or at least to know that the cases in which our algorithm fails to meet these criteria are rare.
Even if you intend to just call functions in APIs and not design algorithms yourself, you should know about the algorithms and data structures used in implementing these APIs. No data structure is the best choice for every situation, and so you need to know the strengths and weaknesses of each.
See Questions On Quora
Continue reading...
Algorithms are clearly specified means to solve problems.
You want to know two things about an algorithm:
- Does it solve the problem?
- Does it use resources efficiently?
That's why we study algorithms. We want to know that our code is based on ideas that solve the problem and that we're using resources efficiently. And we want to know that our solution is correct and efficient for all possible situations, or at least to know that the cases in which our algorithm fails to meet these criteria are rare.
Even if you intend to just call functions in APIs and not design algorithms yourself, you should know about the algorithms and data structures used in implementing these APIs. No data structure is the best choice for every situation, and so you need to know the strengths and weaknesses of each.
See Questions On Quora
Continue reading...