First Course in Algorithms Through Puzzles

  • Ryuhei Uehara

Table of contents

  1. Front Matter
    Pages i-xi
  2. Ryuhei Uehara
    Pages 1-42
  3. Ryuhei Uehara
    Pages 43-55
  4. Ryuhei Uehara
    Pages 57-87
  5. Ryuhei Uehara
    Pages 89-109
  6. Ryuhei Uehara
    Pages 111-127
  7. Ryuhei Uehara
    Pages 129-139
  8. Ryuhei Uehara
    Pages 141-143
  9. Ryuhei Uehara
    Pages 145-170
  10. Back Matter
    Pages 171-175

About this book


This textbook introduces basic algorithms and explains their analytical methods. All algorithms and methods introduced in this book are well known and frequently used in real programs. Intended to be self-contained, the contents start with the basic models, and no prerequisite knowledge is required. This book is appropriate for undergraduate students in computer science, mathematics, and engineering as a textbook, and is also appropriate for self-study by beginners who are interested in the fascinating field of algorithms.

More than 40 exercises are distributed throughout the text, and their difficulty levels are indicated. Solutions and comments for all the exercises are provided in the last chapter. These detailed solutions will enable readers to follow the author’s steps to solve problems and to gain a better understanding of the contents.

Although details of the proofs and the analyses of algorithms are also provided, the mathematical descriptions in this book are not beyond the range of high school mathematics. Some famous real puzzles are also used to describe the algorithms. These puzzles are quite suitable for explaining the basic techniques of algorithms, which show how to solve these puzzles.


Algorithms Data Structure Algorithm Analysis Computer Programming Puzzle

Authors and affiliations

  1. 1.Japan Advanced Institute of Science and TechnologyNomiJapan

Bibliographic information