文档介绍:Data Structures and
Algorithms in Python
Michael T. Goodrich
Department puter Science
University of California, Irvine
Roberto Tamassia
Department puter Science
Brown University
Michael H. Goldwasser
Department of Mathematics puter Science
Saint Louis University
VP & PUBLISHER Don Fowley
EXECUTIVE EDITOR Beth Lang Golub
EDITORIAL PROGRAM ASSISTANT Katherine Willis
MARKETING MANAGER Christopher Ruel
DESIGNER Kenji Ngieng
SENIOR PRODUCTION MANAGER Janis Soo
ASSOCIATE PRODUCTION MANAGER Joyce Poh
This book was set in LaTEX by the authors. Printed and bound by Courier Westford.
The cover was printed by Courier Westford.
This book is printed on acid free paper.
Founded in 1807, John Wiley & Sons, Inc. has been a valued source of knowledge and understanding for
more than 200 years, helping people around the world meet their needs and fulfi ll their aspirations. Our
company is built on a foundation of principles that include responsibility to munities we serve and
where we live and work. In 2008, we launched a Corporate Citizenship Initiative, a global effort to address
the environmental, social, economic, and ethical challenges we face in our business. Among the issues we are
addressing are carbon impact, paper specifi cations and procurement, ethical conduct within our business and
among our vendors, munity and charitable support. For more information, please visit our website:
/citizenship.
Copyright © 2013 John Wiley & Sons, Inc. All rights reserved. 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, Inc. 222
Rosewood Drive, Da