Ebook A practical introduction to data structures and algorithm analysis: Part 1

(BQ) Part 1 book "A practical introduction to data structures and algorithm analysis" has contents: Preliminaries, data structures and algorithms, mathematical preliminaries, algorithm analysis, binary trees, non binary trees, internal sorting. | A Practical Introduction to Data Structures and Algorithm Analysis Third Edition (C++ Version) Clifford A. Shaffer Department of Computer Science Virginia Tech Blacksburg, VA 24061 January 19, 2010 Copyright c 2009-2010 by Clifford A. Shaffer. This document is made freely available for educational and other non-commercial use. You may make copies of this file and redistribute it without charge. You may extract portions of this document provided that the front page, including the title, author, and this notice are included. Any commercial use of this document requires the written consent of the author. The author can be reached at shaffer@. Further information about this text is available at ˜shaffer/Book/ Contents Preface xiii I Preliminaries 1 1 Data Structures and Algorithms A Philosophy of Data Structures The Need for Data Structures Costs and Benefits Abstract Data Types and Data Structures Design Patterns Flyweight Visitor Composite Strategy Problems, Algorithms, and Programs Further Reading Exercises 3 4 4 6 8 12 13 14 15 16 17 19 21 2 Mathematical Preliminaries Sets and Relations Miscellaneous Notation Logarithms Summations and Recurrences 25 25 29 31 33 iii iv Contents 3 II 4 Recursion Mathematical Proof Techniques Direct Proof Proof by Contradiction Proof by Mathematical Induction Estimating Further Reading Exercises Algorithm Analysis Introduction Best, Worst, and Average Cases A Faster Computer, or a Faster Algorithm? Asymptotic Analysis Upper Bounds Lower Bounds Θ Notation Simplifying Rules Classifying Functions Calculating the Running Time for a Program Analyzing Problems Common Misunderstandings Multiple Parameters Space Bounds Speeding Up Your Programs Empirical Analysis Further Reading Exercises .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.