Programming Exercises

The only way to learn a new programming language is by writing programs in it.
— KERNIGHAN & RITCHIE, The C Programming Language (1988)

Contents

  1. Typewriter
  2. Hello, World
  3. Even or Odd
  4. Union
  5. Intersection
  6. Reserved Words
  7. Expressions
  8. Terminology
  9. Stacks
  10. Two Queues
  11. The Josephus Problem
  12. Cards
  13. Tall Objects
  14. Power Outage
  15. Shapes
  16. Green Snake Red Snake

Exercise Sets

  1. Typewriter
  2. Hello, World
  3. Even or Odd
  4. Union
  5. Intersection
  6. Reserved Words
  7. Expressions
  8. Terminology