Practice Overview

These problems take what you learned in the chapter and apply it to new situations. Attempt them after you have read the chapter and feel confident with the material. For each problem, write your own solution before reading the provided one. Give yourself more time to work through these problems.

You can download the accompanying code for these practice problems: starter and solution.

  1. Problem: Build a Leaderboard
  2. Leaderboard: Fields and get
  3. Leaderboard: add, Phase 1 — the Guard
  4. Leaderboard: add, Phase 2 — Insert
  5. Leaderboard: add, Phase 3 — Trim