Skip to Content
Introduction to Algorithms
book

Introduction to Algorithms

by Cuantum Technologies LLC
June 2024
Intermediate to advanced
294 pages
6h 34m
English
Packt Publishing
Content preview from Introduction to Algorithms

Chapter 3 Summary

Algorithm efficiency is the bedrock upon which all computer science is built. Understanding how to measure an algorithm's efficiency, in terms of time and space complexity, is vital for any budding programmer or computer scientist. This chapter delved deep into this concept, exploring both theoretical and practical aspects.

We began this chapter with a discussion of time complexity. We saw that time complexity is a measure of the amount of computational time taken by an algorithm to run, as a function of the size of the input to the program. A fundamental understanding of time complexity allows us to evaluate and compare algorithms based on their performance and choose the most efficient algorithm for our needs. We reinforced ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Algorithms

Learning Algorithms

George Heineman
Algorithms, 4th Edition

Algorithms, 4th Edition

Robert Sedgewick, Kevin Wayne
Graph Algorithms

Graph Algorithms

Mark Needham, Amy E. Hodler

Publisher Resources

ISBN: 9781836203872