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 5 Summary

Chapter 5 dived deep into search algorithms, an essential part of computer science and programming. The focus of this chapter was to enable you, the reader, to understand the theoretical background of different search algorithms, as well as gaining hands-on experience with coding examples and practical problems.

We began with the most basic search algorithm, the linear search. This straightforward yet essential algorithm offers the basis for many more complex algorithms and serves as a perfect starting point for this chapter. The linear search sequentially checks each element in a list until it finds a match or exhausts all possibilities. We highlighted its simplicity, as well as its downside in terms of efficiency, especially ...

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