Cengage/Higher Education/Computer Science/Fundamentals of Python: Data Structures
Return to search
Fundamentals of Python: Data Structures book cover
Student viewInstructor view

Fundamentals of Python: Data Structures

By Kenneth Lambert

2nd Edition © 2019
Discipline:Computing & Information Technology
Course:Computer Science
Starting from$71.99
See pricing details and explore formats

Get your course materials

Learning Platforms

MindTap

Get course content, assignments, practice, and AI-powered support all in one place to keep learning on track.

New edition available

Cengage Unlimited

Get day-one access to course content, AI-powered support, and resources to build college and career-ready skills.

Manage Subscription

eBook

Get instant access to your course content on the device of your choice, with built-in tools like highlighting, bookmarking, and search.

Paperback

Buy or Rent the textbook

Get a new, printed copy of your textbook, ready for notes and highlighting. Plus, free shipping and returns on orders. *See terms and conditions.

Added to cart.
Something went wrong. Please try again.

Questions about this product?

Get help with product, platform or format questions.

Let’s connect
Explore instructor resources

About your course materials

Written for computer programming students, hobbyists or professionals, Lambert's FUNDAMENTALS OF PYTHON™: DATA STRUCTURES, 2E introduces object-oriented design and data structures using the popular Python™ programming language. The book presents a level of instruction that is ideal for readers with at least one semester of programming experience in an object-oriented language, such as Java™, C++ or Python™.

Step-by-step instruction and focused exercises clearly address the design of collection classes with polymorphism and inheritance and multiple implementations of collection interfaces. This edition also covers the analysis of the space/time tradeoffs of different collection implementations and, more specifically, array-based implementations and link-based implementations. This edition's thorough coverage of collections includes sets, lists, stacks, queues, trees, dictionaries and graphs. Trust FUNDAMENTALS OF PYTHON™: DATA STRUCTURES for the instruction in object-oriented design and data structures that your students need for success.

Related study tools

International MindTap for Lambert's Fundamentals of Python: Data Structures cover
Higher Education

International MindTap for Lambert's Fundamentals of Python: Data Structures

International MindTap Computing for Lambert's Fundamentals of Python: Data Structures, 2nd is the digital learning solution that powers students from memorization to mastery. It gives you complete co…

ISBN-13:9781337675192Copied!
View details
MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 1 term Printed Access Card cover
Higher Education

MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 1 term Printed Access Card

MindTap for Fundamentals of Python: Data Structures, 2e, V2 is created for computer programming students, hobbyists or professionals, the course introduces object-oriented design and data structures…

ISBN-13:9780357505465Copied!
$92.00
Add to cart
MindTap for Lambert's Fundamentals of Python: Data Structures, 1 term Instant Access cover
Higher Education

MindTap for Lambert's Fundamentals of Python: Data Structures, 1 term Instant Access

MindTap for Lambert's Fundamentals of Python™: Data Structures, 2nd Edition is the digital learning solution that powers students from memorization to mastery. It gives you complete control of your c…

ISBN-13:9781337560207Copied!
$100.00
Add to cart
MindTap for Lambert's Fundamentals of Python: Data Structures, 2 terms Instant Access cover
Higher Education

MindTap for Lambert's Fundamentals of Python: Data Structures, 2 terms Instant Access

MindTap for Lambert's Fundamentals of Python: Data Structures, 2nd Edition, is the digital learning solution that powers students from memorization to mastery. It gives you complete control of your c…

ISBN-13:9780357431184Copied!
$142.00
Add to cart
MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 1 term Instant Access cover
Higher Education

MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 1 term Instant Access

MindTap for Fundamentals of Python: Data Structures, 2e, V2 is created for computer programming students, hobbyists or professionals, the course introduces object-oriented design and data structures…

ISBN-13:9780357505441Copied!
$100.00
Add to cart
MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 2 terms Instant Access cover
Higher Education

MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 2 terms Instant Access

MindTap for Fundamentals of Python: Data Structures, 2e, V2 is created for computer programming students, hobbyists or professionals, the course introduces object-oriented design and data structures…

ISBN-13:9780357505472Copied!
$142.00
Add to cart
MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 2 terms Printed Access Card cover
Higher Education

MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 2 terms Printed Access Card

MindTap for Fundamentals of Python: Data Structures, 2e, V2 is created for computer programming students, hobbyists or professionals, the course introduces object-oriented design and data structures…

ISBN-13:9780357505489Copied!
$104.00
Add to cart
MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 2 terms Instant Access cover
Higher Education

MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 2 terms Instant Access

MindTap for Fundamentals of Python: Data Structures, 2e, V2 is created for computer programming students, hobbyists or professionals, the course introduces object-oriented design and data structures…

ISBN-13:9798214413433Copied!
$142.00
Add to cart
MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 1 term Instant Access cover
Higher Education

MindTapV2.0 for Lambert's Fundamentals of Python: Data Structures with 2021 Updates, 1 term Instant Access

MindTap for Fundamentals of Python: Data Structures, 2e, V2 is created for computer programming students, hobbyists or professionals, the course introduces object-oriented design and data structures…

ISBN-13:9798214413419Copied!
$100.00
Add to cart
Show more

Frequently asked questions

How do I enroll in or join my course?

Your instructor will tell you how to access your course. You may join through your school’s LMS, a course link or a course key. If you’re unsure which method to use, check with your instructor.

How do I redeem an access code, or what if my code isn't working?

Sign in to your Cengage account and select Enter Access Code or Course Key, then enter your access code and select Register. If your code is damaged, missing or still doesn't work, contact Cengage Support.

Why can't I access my course?

How you access your course depends on how your instructor set it up. Start from your LMS, course link or course key. If you've purchased access but still can't open the course, Cengage Help can help you troubleshoot your access.

Where can I find my eBook or textbook?

You can access available eBooks from your Cengage student dashboard or from your Cengage course. If your class uses an LMS, your instructor may also provide access there.

What if I don't have access to my course materials yet?

Temporary access may be available for some Cengage courses. If offered, you can use your course during the grace period and purchase or register your access code before it ends. Options for expired access vary by product.

AboutTable of contentsResourcesPricing & formatsRelated products

About this product

Written for computer programming students, hobbyists or professionals, Lambert's FUNDAMENTALS OF PYTHON™: DATA STRUCTURES, 2E introduces object-oriented design and data structures using the popular Python™ programming language. The book presents a level of instruction that is ideal for readers with at least one semester of programming experience in an object-oriented language, such as Java™, C++ or Python™.

Step-by-step instruction and focused exercises clearly address the design of collection classes with polymorphism and inheritance and multiple implementations of collection interfaces. This edition also covers the analysis of the space/time tradeoffs of different collection implementations and, more specifically, array-based implementations and link-based implementations. This edition's thorough coverage of collections includes sets, lists, stacks, queues, trees, dictionaries and graphs. Trust FUNDAMENTALS OF PYTHON™: DATA STRUCTURES for the instruction in object-oriented design and data structures that your students need for success.

COMPREHENSIVE COVERAGE EXAMINES THE DESIGN OF COLLECTION CLASSES WITH POLYMORPHISM AND INHERITANCE. Step-by-step instruction walks students through the design of collection classes with polymorphism and inheritance.

THE AUTHOR CLEARLY INTRODUCES MULTIPLE IMPLEMENTATIONS OF COLLECTION INTERFACES. Students gain a solid understanding of key concepts, including the multiple implementations of collection interfaces.

STUDENTS STUDY THE ANALYSIS OF THE SPACE/TIME TRADEOFFS OF DIFFERENT COLLECTION IMPLEMENTATIONS. This edition delves into the analysis of the space/time tradeoffs of different collection implementations and, specifically, array-based implementations and link-based implementations to provide the foundation students need.

Table of contents

Chapters

Cover Page
Title Page
Copyright Page
Preface
Acknowledgments
About the Author
Dedication
Chapter 1. Basic Python Programming*Preview this chapter
Chapter 2. An Overview of Collections
Chapter 3. Searching, Sorting, and Complexity Analysis
Chapter 4. Arrays and Linked Structures
Chapter 5. Interfaces, Implementations, and Polymorphism
Chapter 6. Inheritance and Abstract Classes
Chapter 7. Stacks
Chapter 8. Queues
Chapter 9. Lists
Chapter 10. Trees
Chapter 11. Sets and Dictionaries
Chapter 12. Graphs
Show more

Chapter 1. Basic Python ProgrammingPreview this chapter ↗

Basic Program Elements
Preview this section ↗
Programs and Modules ↗
An Example Python Program: Guessing a Number ↗
Editing, Compiling, and Running Python Programs ↗
Program Comments ↗
Lexical Elements ↗
Spelling and Naming Conventions ↗
Syntactic Elements ↗
Literals ↗
Operators and Expressions ↗
Function Calls ↗
The print Function ↗
The input Function ↗
Type Conversion Functions and Mixed-Mode Operations ↗
Optional and Keyword Function Arguments ↗
Variables and Assignment Statements ↗
Python Data Typing ↗
import Statements ↗
Getting Help on Program Components ↗
Control Statements
Preview this section ↗
Conditional Statements ↗
Using if __name__ == "__main__" ↗
Loop Statements ↗
Strings and Their Operations
Preview this section ↗
Operators ↗
Formatting Strings for Output ↗
Objects and Method Calls ↗
Built-In Python Collections and Their Operations
Preview this section ↗
Lists ↗
Tuples ↗
Loops Over Sequences ↗
Dictionaries ↗
Searching for a Value ↗
Pattern Matching with Collections ↗
Creating New Functions
Preview this section ↗
Function Definitions ↗
Recursive Functions ↗
Nested Function Definitions ↗
Higher-Order Functions ↗
Creating Anonymous Functions with lambda ↗
Catching Exceptions ↗
Files and Their Operations
Preview this section ↗
Text File Output ↗
Writing Numbers to a Text File ↗
Reading Text from a Text File ↗
Reading Numbers from a File ↗
Reading and Writing Objects with pickle ↗
Creating New Classes ↗
Projects ↗
Show more

Resources

Instructor resources for this title can include manuals, test banks, educator guides, multimedia and companion sites. Sign in to see what is available.

Instructor manuals
Test banks
Educator guides
Multimedia
Companion sites
Sign in to view & download

Pricing and formats

Learning Platforms
eBook
Paperback
Bundle

MindTap

Give students content, practice, assignments, and AI support, with real-time insights to track their progress.

6 months

ISBN-13: 9781337560207
$100.00
New edition available

12 months

ISBN-13: 9780357431184
$142.00
New edition available

6 months

ISBN-13: 9780357505441
$100.00
New edition available

12 months

ISBN-13: 9780357505472
$142.00
New edition available

12 months

ISBN-13: 9798214413433
$142.00

6 months

ISBN-13: 9798214413419
$100.00
Sign in to view & adopt this title

Give students more with Cengage Unlimited

Choose the Cengage content and Learning Platform that fit your course while giving students access to Cengage Learning Platforms and our entire eBook library with one subscription.

4-12 month student access

$169.99 – $244.99

eBook

Give students digital access to textbook content with tools to highlight, bookmark and search as they read.

6 months

ISBN-13: 9780357695678
$71.99

12 months

ISBN-13: 9780357695678
$98.99
Sign in to view & adopt this title

Paperback

Purchase

ISBN-13: 9780357122754
$272.95
Sign in to view & adopt this title

Related products

Artificial Intelligence and Machine Learning: Concepts, Applications, and Ethical Consideration book cover
Higher Education
New

Artificial Intelligence and Machine Learning: Concepts, Applications, and Ethical Consideration

Shakia Riggins, Baffour Osei
1st Edition © 2027
MindTap
Paperback
eBook
Available October 30, 2026
$71.99
View details
Microsoft Visual C#: Introduction to Object Oriented Programming book cover
Higher Education

Microsoft Visual C#: Introduction to Object Oriented Programming

Joyce Farrell
8th Edition © 2025
MindTap
Paperback
eBook
Starting from
$71.99
View details
Android Boot Camp for Developers Using Java®: A Guide to Creating Your First Android Apps book cover
Higher Education

Android Boot Camp for Developers Using Java®: A Guide to Creating Your First Android Apps

Corinne Hoisington
4th Edition © 2024
Paperback
eBook
Starting from
$71.99
View details
Programming Logic and Design book cover
Higher Education

Programming Logic and Design

Joyce Farrell
10th Edition © 2024
MindTap
Paperback
eBook
Starting from
$71.99
View details
Java Programming book cover
Higher Education

Java Programming

Joyce Farrell
10th Edition © 2023
MindTap
Paperback
eBook
Starting from
$71.99
View details
Readings from Programming with Java book cover
Higher Education

Readings from Programming with Java

Kyla McMullen, Elizabeth Matthews, June Jamrich Parsons
1st Edition © 2023
MindTap
Paperback
eBook
Starting from
$71.99
View details

This product is provided solely for instructional purposes, and your use of this product is governed by Cengage's Terms of Use. By using this product, you acknowledge your obligation to comply with these terms. View Terms of Use.

Cengage support team
Cengage support team

Still need support?

Get help with course access, registration, purchases or technical issues from Cengage Support.
Contact support
Cengage support team
Cengage support team

Need help?

Connect with us today, and let’s explore how we can support your goals.
Get in touch
Cengage
Higher Education
K–12
Higher Education

Higher Education

Future-focused tools to teach, learn, and build career-ready skills.
Get started

Students

Instructors

Leaders

Librarians

Career and Workforce
Sign In

Higher Education

Student
Instructor
Gale
ELL
Name
Dashboard
Profile
Sign Out
Support

Recent searches

Chemistry
Mindtap Biology
Calculus
Recent query

Suggestions

Calculus230 results
Calculus Early Transcendentals84 results
Calculus Concepts37 results
Suggestion0 results

Matching products

2 results
Abstract navy to teal gradient placeholder
TAGTAGTAG
9th Edition•© 2021

Calculus: Early Transcendentals

James Stewart, Daniel K. Clegg and Saleem Watson

Abstract navy to teal gradient placeholder
TAGTAGTAG
9th Edition•© 2021

Calculus

James Stewart, Daniel K. Clegg and Saleem Watson

TAG
Edition

Product title

Authors
No matching products. Press Enter to search the full catalog.
Product suggestions are unavailable right now. Press Enter to search the full catalog.
Searching…
Sign In

Higher Education

Student
Instructor
Gale
ELL
Name
Dashboard
Profile
Sign Out
Your basket (3)
eTextbook: Calculus | 12th Edition
eTextbook Access: 360 days
$76.99
Cengage Unlimited - Full - Multi-Term Access (12 months)
Digital Access: 365 days
$124.99
Introduction to Physical Anthropology | 15th Edition
Textbook
$124.99
This is some text inside of a div block.
This is some text inside of a div block.
This is some text inside of a div block.
Your basket is empty.
We couldn’t load your basket. Please try again.
Loading your basket…
Total:
$201.98
I’m ready to checkout
Get Support
US
Change Country
Students

Students

See Overview

Access & Use Products

Access Instructions
Help Center

Get Help

Instructors

Instructors

See Overview

Products

Disciplines
Learning Platforms
Cengage Unlimited

Access & Use Products

Instructor Support
Course Setup
Training
Help Center

Get help

Leaders & Admins

Leaders & Admins

See Overview

Programs

Cengage Unlimited
Gale

Access & Use Products

LMS Integration

Resources

Published Research
Help Center

Get help

Librarians

Librarians

See Overview

Products

Databases
Primary Sources
Digital Humanities Tools
eLearning

Access & Use Products

Discovery Services
Gale Support
Gale Support

Get Support

Find Your Local Cengage Site

Select country
🇦🇫
Afghanistan
🇦🇱
Albania
🇩🇿
Algeria
🇦🇩
Andorra
🇦🇴
Angola
🇦🇮
Anguilla
🇦🇬
Antigua and Barbuda
🇦🇷
Argentina
🇦🇲
Armenia
🇦🇼
Aruba
🇦🇺
Australia
🇦🇹
Austria
🇦🇿
Azerbaijan
🇧🇸
Bahamas
🇧🇭
Bahrain
🇧🇩
Bangladesh
🇧🇧
Barbados
🇧🇾
Belarus
🇧🇪
Belgium
🇧🇿
Belize
🇧🇯
Benin
🇧🇲
Bermuda
🇧🇹
Bhutan
🇧🇴
Bolivia
🇧🇦
Bosnia and Herzegovina
🇧🇼
Botswana
🇧🇷
Brazil
🇻🇬
British Virgin Islands
🇧🇳
Brunei
🇧🇬
Bulgaria
🇧🇫
Burkina Faso
🇧🇮
Burundi
🇰🇭
Cambodia
🇨🇲
Cameroon
🇨🇦
Canada
🇨🇻
Cape Verde
🇰🇾
Cayman Islands
🇨🇫
Central African Republic
🇹🇩
Chad
🇨🇱
Chile
🇨🇳
China
🇨🇴
Colombia
🇰🇲
Comoros
🇨🇰
Cook Islands
🇨🇷
Costa Rica
🇨🇮
Côte d'Ivoire
🇭🇷
Croatia
🇨🇺
Cuba
🇨🇾
Cyprus
🇨🇿
Czech Republic
🇨🇩
Democratic Republic of the Congo
🇩🇰
Denmark
🇩🇯
Djibouti
🇩🇲
Dominica
🇩🇴
Dominican Republic
🇪🇨
Ecuador
🇪🇬
Egypt
🇸🇻
El Salvador
🇬🇶
Equatorial Guinea
🇪🇷
Eritrea
🇪🇪
Estonia
🇸🇿
Eswatini
🇪🇹
Ethiopia
🇫🇰
Falkland Islands (Malvinas)
🇫🇴
Faroe Islands
🇫🇯
Fiji
🇫🇮
Finland
🇫🇷
France
🇬🇫
French Guiana
🇬🇪
Georgia
🇩🇪
Germany
🇬🇭
Ghana
🇬🇮
Gibraltar
🇬🇷
Greece
🇬🇱
Greenland
🇬🇩
Grenada
🇬🇵
Guadeloupe
🇬🇺
Guam
🇬🇹
Guatemala
🇬🇳
Guinea
🇬🇼
Guinea-Bissau
🇬🇾
Guyana
🇭🇹
Haiti
🇭🇳
Honduras
🇭🇰
Hong Kong
🇭🇺
Hungary
🇮🇸
Iceland
🇮🇳
India
🇮🇩
Indonesia
🇮🇷
Iran
🇮🇶
Iraq
🇮🇪
Ireland
🇮🇱
Israel
🇮🇹
Italy
🇯🇲
Jamaica
🇯🇵
Japan
🇯🇴
Jordan
🇰🇿
Kazakhstan
🇰🇪
Kenya
🇰🇮
Kiribati
🇰🇼
Kuwait
🇰🇬
Kyrgyzstan
🇱🇦
Laos
🇱🇻
Latvia
🇱🇧
Lebanon
🇱🇸
Lesotho
🇱🇷
Liberia
🇱🇮
Liechtenstein
🇱🇹
Lithuania
🇱🇺
Luxembourg
🇲🇴
Macau
🇲🇬
Madagascar
🇲🇼
Malawi
🇲🇾
Malaysia
🇲🇻
Maldives
🇲🇱
Mali
🇲🇹
Malta
🇲🇭
Marshall Islands
🇲🇶
Martinique
🇲🇷
Mauritania
🇲🇺
Mauritius
🇲🇽
Mexico
🇲🇩
Moldova
🇲🇨
Monaco
🇲🇳
Mongolia
🇲🇪
Montenegro
🇲🇸
Montserrat
🇲🇦
Morocco
🇲🇿
Mozambique
🇲🇲
Myanmar
🇳🇦
Namibia
🇳🇷
Nauru
🇳🇵
Nepal
🇳🇱
Netherlands
🇳🇿
New Zealand
🇳🇮
Nicaragua
🇳🇪
Niger
🇳🇬
Nigeria
🇳🇺
Niue
🇰🇵
North Korea
🇲🇰
North Macedonia
🇳🇴
Norway
🇴🇲
Oman
🇵🇰
Pakistan
🇵🇼
Palau
🇵🇸
Palestine
🇵🇦
Panama
🇵🇬
Papua New Guinea
🇵🇾
Paraguay
🇨🇬
People's Republic of Congo
🇵🇪
Peru
🇵🇭
Philippines
🇵🇱
Poland
🇵🇹
Portugal
🇵🇷
Puerto Rico
🇶🇦
Qatar
🇷🇴
Romania
🇷🇺
Russia
🇷🇼
Rwanda
🇼🇸
Samoa
🇸🇲
San Marino
🇸🇹
Sao Tome and Principe
🇸🇦
Saudi Arabia
🇸🇳
Senegal
🇷🇸
Serbia
🇸🇨
Seychelles
🇸🇱
Sierra Leone
🇸🇬
Singapore
🇸🇰
Slovakia
🇸🇮
Slovenia
🇸🇧
Solomon Islands
🇸🇴
Somalia
🇿🇦
South Africa
🇰🇷
South Korea
🇪🇸
Spain
🇱🇰
Sri Lanka
🇰🇳
St. Kitts and Nevis
🇱🇨
St. Lucia
🇵🇲
St. Pierre and Miquelon
🇻🇨
St. Vincent & The Grenadines
🇸🇩
Sudan
🇸🇷
Suriname
🇸🇯
Svalbard and Jan Mayen Islands
🇸🇪
Sweden
🇨🇭
Switzerland
🇸🇾
Syria
🇹🇼
Taiwan
🇹🇯
Tajikistan
🇹🇿
Tanzania
🇹🇭
Thailand
🇹🇱
Timor-Leste
🇹🇬
Togo
🇹🇰
Tokelau
🇹🇴
Tonga
🇹🇹
Trinidad and Tobago
🇹🇳
Tunisia
🇹🇷
Turkey
🇹🇲
Turkmenistan
🇹🇨
Turks and Caicos Islands
🇹🇻
Tuvalu
🇺🇬
Uganda
🇺🇦
Ukraine
🇦🇪
United Arab Emirates
🇬🇧
United Kingdom
🇺🇸
United States
🇺🇾
Uruguay
🇺🇿
Uzbekistan
🇻🇺
Vanuatu
🇻🇦
Vatican
🇻🇪
Venezuela
🇻🇳
Vietnam
🇪🇭
Western Sahara
🇾🇪
Yemen
🇿🇲
Zambia
🇿🇼
Zimbabwe
Cengage

Welcome to Cengage

It looks like you’re visiting from another country. Would you like to visit your local Cengage site instead?

Cengage logo

Support

(800) 354-9706

support.cengage.com

K–12

Higher Education

Career and Workforce

Students

Instructors

Leaders & Admin

Librarians

Company

About

News

Research & Outcomes

Investors

Careers

Content Development Philosophy

Authors/Royalties

Cengage AI

Contact

Contact Us

Support

ServicePlus Ordering

© 2020 Cengage Learning, Inc. and its affiliates

Copyright

Privacy

Piracy

Terms of Use

Accessibility

Compliance & Ethics

Do Not Sell