Concise Algorithmics: The Basic Toolbox


E-Book Content

Entwurf-Entwurf-Entwurf-Entwurf-Entwurf-Entwurf-Entwurf-Entwurf Concise Algorithmics or Algorithms and Data Structures — The Basic Toolbox or. . . Kurt Mehlhorn and Peter Sanders Entwurf-Entwurf-Entwurf-Entwurf-Entwurf-Entwurf-Entwurf-Entwurf Mehlhorn, Sanders June 11, 2005 Foreword Buy me not [25]. iii iv Mehlhorn, Sanders June 11, 2005 v Contents 1 Amuse Geule: Integer Arithmetics 1.1 Addition . . . . . . . . . . . . . . . . . . . 1.2 Multiplication: The School Method . . . . 1.3 A Recursive Version of the School Method . 1.4 Karatsuba Multiplication . . . . . . . . . . 1.5 Implementation Notes . . . . . . . . . . . . 1.6 Further Findings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3 4 4 6 8 10 11 2 Introduction 2.1 Asymptotic Notation . . . . . . . . . . . . . . . . . 2.2 Machine Model . . . . . . . . . . . . . . . . . . . . 2.3 Pseudocode . . . . . . . . . . . . . . . . . . . . . . 2.4 Designing Correct Programs . . . . . . . . . . . . . 2.5 Basic Program Analysis . . . . . . . . . . . . . . . . 2.6 Average Case Analysis and Randomized Algorithms 2.7 Data Structures for Sets and Sequences . . . . . . . . 2.8 Graphs . . . . . . . . . . . . . . . . . . . . . . . . . 2.9 Implementation Notes . . . . . . . . . . . . . . . . . 2.10 Further Findings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 14 16 19 23 25 29 32 32 37 38
You might also like

Lexikon Der Informatik
Authors: Peter Fischer , Peter Hofer    149    0



Computer Science Handbook
Authors: Allen B. Tucker    215    0


Laboratory In Software Engineering (eecs 6170)
Authors: Daniel Jackson , Rob Miller    158    0


Calculs Et Visualisation En Nombres Complexes
Authors: Testard L.    111    0


Digital Image Processing (preview)
Authors: Rafael C. Gonzalez , Richard E. Woods    151    0


Beginning Python
Authors: Peter C. Norton , Alex Samuel , Dave Aitel , Eric Foster-Johnson , Leonard Richardson , Jason Diamond , Aleatha Parker , Michael Roberts    193    0


Combinatorial Optimization: Networks And Matroids
Authors: Lawler E.L.    153    0


Linear Programming And Its Applications
Authors: H.A. Eiselt , C.-L. Sandblom    123    0


Combinatorial Optimization. Theory And Algorithms
Authors: Bernhard Korte , Jens Vygen    211    0