Data Structures and Algorithms in the Era of Generative AI: Foundations, Performance, and Modern Applications with Python

ANT

4.5
$14.99 $24.99You save $10.00
Format
Digital edition
PDFEPUB
Works on phone, tablet and computer Instant access after checkout Personal-use digital license
About this edition

• Instant access to your digital edition.
• Read anytime, anywhere, on your favorite device.
• No shipping — your book is delivered digitally.
• Simple, secure access after purchase.

Published date August 2, 2026
Author David W. Liao

Instant digital delivery after purchase.

Download link available immediately after checkout.
In stock
Quantity
Secure checkout — encrypted end to end Free exchange or return within 30 days if the product is defective. Digital formats available instantly
Readers also enjoyed

Discover another great read to add to your digital library.

$14.99 $24.99

Description

Learn the foundations of Data Structures and Algorithms while discovering how they power modern software and Generative AI systems.

Data Structures and Algorithms in the Era of GenAI presents the essential topics of a traditional undergraduate DSA course through a practical, contemporary lens. Using Python, the book explains not only how common data structures and algorithms work, but also why they matter in applications involving large language models, retrieval systems, intelligent agents, caching, ranking, and data processing.

The book begins with Python and object-oriented programming foundations, then connects Big-O analysis to real-world performance measures such as latency, throughput, memory use, and scalability. It develops the major structures and algorithms step by step, including:

Arrays, lists, strings, and sequence-processing patterns

Linked lists, stacks, queues, and deques

Trees, binary search trees, AVL trees, and Red-Black trees

Heaps and priority queues

Graph representations, traversal, shortest paths, and spanning trees

Hash tables, dictionaries, sets, caches, and memoization

Linear search, binary search, and search variants

Classic sorting algorithms, Timsort, partial sorting, and Top-K selection

Bridge Theory with Modern AI Practice
Generative AI examples are used to clarify the computer science rather than replace it. Readers will see how strings support prompt and response processing, queues manage requests and streaming work, heaps select the best candidates, graphs model workflows and relationships, hash tables support caching and token mappings, and searching and sorting contribute to retrieval and ranking.

Who This Book Is For
Designed for undergraduate students, self-learners, instructors, and industry practitioners, this book requires no prior background in machine learning. Its goal is to help readers move beyond memorizing complexity tables and develop the judgment to choose the right structure for a problem, analyze its tradeoffs, evaluate AI-generated code, and build software that remains efficient as it scales.

Whether you are preparing for a Data Structures course, strengthening your programming foundations, or building modern AI-enabled applications, this book provides the concepts and practical reasoning needed to design better systems.

Specifications

FormatEPUB, PDF
Pages682
LanguageEnglish
ISBN-13979-8190192667

Frequently asked

Do I need an account to download?

No. After purchase, you can access your ebook directly from the order confirmation or download page.

What if a copy arrives damaged?

Contact us and we’ll help you access the file or provide a replacement download if needed.

Reviews

4.5 0
5★84%4★11%3★3%2★1%1★1%
N Nancy Park Verified
★★★★★The diagrams do the teachingSeeing the concept drawn before the notation appears changed everything for me.
R Robin Larson Verified
★★★★★A set text for my classThe problem sets are graded properly and the solutions are complete.
N Norma Sandoval Verified
★★★★★
See all reviews

Customers also downloaded