This eBook includes the following formats, accessible from your Account page after purchase:
EPUB
The open industry format known for its reflowable content and usability on supported mobile devices.
PDF
The popular standard, used most often with the free Acrobat® Reader® software.
This eBook requires no passwords or activation to read. We customize your eBook by discreetly watermarking it with your name, making it uniquely yours.
Also available in other formats.
Bridge the gap between algorithm design and real-world code with a practical, AI-assisted approach built for today's developers.
Algorithms power modern systems--from flight control and robotics to recommendation engines and AI applications. Algorithms and Programs: An AI-Assisted Approach shows how to clearly define an algorithm's purpose, design a structured outline, translate it into reliable code, and reason about its efficiency and complexity.
Rather than relying on traditional pseudocode, this book uses precise algorithm outlines that are easier to understand and directly support correct implementation. This approach bridges the gap between design and code, reducing ambiguity and minimizing errors.
Each algorithm is expressed as a sequence of clear, intended outcomes, which naturally define its correctness conditions and support reasoning about invariants and program behavior. This structured method encourages better programming practice, improves reliability, and aligns well with modern AI-assisted development tools.
Chapter 1: Specifying Problems, Functions, and Classes
Chapter 2: Expressing Algorithms and their Complexity
Chapter 3: Algorithm Creation and Analysis
Chapter 4: Divide and Conquer
Chapter 5: Sorting
Chapter 6: Dynamic Programming
Chapter 7: Greedy Algorithms
Chapter 8: Minimum Spanning Trees
Chapter 9: Shortest Paths
