(Ebook) Essential Algorithms: A Practical Approach to Computer Algorithms Using Python and C#- Second Edition by Rod Stephens ISBN 9781119575993, 1119575990 - Download the ebook now to start reading without waiting
(Ebook) Essential Algorithms: A Practical Approach to Computer Algorithms Using Python and C#- Second Edition by Rod Stephens ISBN 9781119575993, 1119575990 - Download the ebook now to start reading without waiting
https://ebooknice.com/product/essential-algorithms-a-practical-
approach-to-computer-algorithms-using-python-and-c-12274474
https://ebooknice.com/product/essential-algorithms-a-practical-
approach-to-computer-algorithms-4543036
https://ebooknice.com/product/essential-algorithms-31030430
(Ebook) Algebraic Graph Algorithms: A Practical Guide Using Python
(Undergraduate Topics in Computer Science) by K. Erciyes ISBN
9783030878856, 3030878856
https://ebooknice.com/product/algebraic-graph-algorithms-a-practical-
guide-using-python-undergraduate-topics-in-computer-science-36373836
https://ebooknice.com/product/pro-machine-learning-algorithms-a-hands-
on-approach-to-implementing-algorithms-in-python-and-r-50195058
https://ebooknice.com/product/practical-algorithms-for-3d-computer-
graphics-second-edition-5145374
https://ebooknice.com/product/data-structures-algorithms-using-kotlin-
second-edition-52573652
https://ebooknice.com/product/problem-solving-with-algorithms-and-
data-structures-using-python-second-edition-4744554
Essential Algorithms
Essential Algorithms
A Practical Approach to Computer
Algorithms Using Python® and C#
Rod Stephens
Essential Algorithms: A Practical Approach to Computer Algorithms Using Python® and C#
Published by
John Wiley & Sons, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
ISBN: 978‐1‐119‐57599‐3
ISBN: 978‐1‐119‐57596‐2 (ebk)
ISBN: 978‐1‐119‐57598‐6 (ebk)
10 9 8 7 6 5 4 3 2 1
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means,
electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108
of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization
through payment of the appropriate per‐copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers,
MA 01923, (978) 750‐8400, fax (978) 646‐8600. Requests to the Publisher for permission should be addressed to the Per-
missions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748‐6011, fax (201) 748‐6008,
or online at http://www.wiley.com/go/permissions.
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with
respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including
without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or
promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work
is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional
services. If professional assistance is required, the services of a competent professional person should be sought. Nei-
ther the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site
is referred to in this work as a citation and/or a potential source of further information does not mean that the author
or the publisher endorses the information the organization or website may provide or recommendations it may make.
Further, readers should be aware that Internet websites listed in this work may have changed or disappeared between
when this work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the
United States at (877) 762‐2974, outside the United States at (317) 572‐3993 or fax (317) 572‐4002.
Wiley publishes in a variety of print and electronic formats and by print‐on‐demand. Some material included with
standard print versions of this book may not be included in e‐books or in print‐on‐demand. If this book refers to media
such as a CD or DVD that is not included in the version you purchased, you may download this material at http://
booksupport.wiley.com. For more information about Wiley products, visit www.wiley.com.
Trademarks: Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its
affiliates, in the United States and other countries, and may not be used without written permission. Python is a regis-
tered trademark of Python Software Foundation. All other trademarks are the property of their respective owners. John
Wiley & Sons, Inc. is not associated with any product or vendor mentioned in this book.
For Maki
About the Author
vii
About the Technical Editor
John Mueller is a freelance author and technical editor. He has writing in his
blood, having produced 112 books and more than 600 articles to date. The topics
range from networking to artificial intelligence and from database management
to heads-down programming. Some of his current books include discussions
of data science, machine learning, and algorithms. His technical editing skills
have helped more than 70 authors refine the content of their manuscripts. John
has provided technical editing services to numerous magazines, performed
various types of consulting, and he writes certification exams as well.
Be sure to read John’s blog at: http://blog.johnmuellerbooks.com/. You can
reach John on the Internet at [email protected]. John also has a web-
site at http://www.johnmuellerbooks.com/. Be sure to follow John on Amazon
at https://www.amazon.com/John-Mueller/.
ix
Credits
xi
Acknowledgments
Thanks to Ken Brown, Devon Lewis, Gary Schwartz, Pete Gaughan, Jim Mina-
tel, Athiyappan Lalitkumar, and everyone else at Wiley that helped make this
book possible.
Thanks to longtime friend John Mueller, who provided his technical exper-
tise to help make the information in this book as accurate as possible. (Any
remaining mistakes are mine, not his.)
Thanks also to Sunil Kumar for his generous feedback on the first edition.
xiii
Contents at a glance
Introductionxxix
Chapter 1 Algorithm Basics 1
Chapter 2 Numerical Algorithms 23
Chapter 3 Linked Lists 71
Chapter 4 Arrays 103
Chapter 5 Stacks and Queues 135
Chapter 6 Sorting 167
Chapter 7 Searching 201
Chapter 8 Hash Tables 209
Chapter 9 Recursion 227
Chapter 10 Trees 285
Chapter 11 Balanced Trees 349
Chapter 12 Decision Trees 367
Chapter 13 Basic Network Algorithms 403
Chapter 14 More Network Algorithms 451
Chapter 15 String Algorithms 493
Chapter 16 Cryptography 519
Chapter 17 Complexity Theory 543
xv
xvi Contents at a glance
Introductionxxix
Chapter 1 Algorithm Basics 1
Approach2
Algorithms and Data Structures 2
Pseudocode3
Algorithm Features 6
Big O Notation 7
Rule 1 8
Rule 2 8
Rule 3 9
Rule 4 9
Rule 5 10
Common Run Time Functions 11
111
Log N 11
Sqrt N 14
N14
N log N 15
N2 15
N
2 15
N!16
Visualizing Functions 16
Practical Considerations 18
Summary19
Exercises20
xvii
xviii Contents
Language: French
Justice de Femme
DU MÊME AUTEUR
POÉSIE
ROMAN
Marcelle. 1 vol. 3 50
Névrosée. 1 vol. 3 50
TRADUCTION
6 »
Lord Byron, Œuvres complètes. Tome I
(Heures d'Oisiveté, Childe Harold) précédé
d'un Essai sur Lord Byron. 1 vol. in-12,
papier vélin, orné d'un portrait de Lord
Byron.
Tome II (Le Giaour, La Fiancée d'Abydos, Le
Corsaire, Lara, etc.) 6 »
SOUS PRESSE
EN PRÉPARATION
DANIEL LESUEUR
Justice de Femme
PARIS
ALPHONSE LEMERRE, ÉDITEUR
23-31, PASSAGE CHOISEUL, 23-31
M DCCC XCIII
Justice de Femme
I
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebooknice.com