This happened to me too (they offered calculus, but I was finished by 11th grade). They also ran out of science classes. But I couldn't graduate because for some unimaginable reason four years of high school "english" and "history" classes are required. So there I was, day almost empty, taking English 12, History 12, a required art class, and the language sequence (fourth-year Latin) that I'd wanted to take the year before, but couldn't because it wasn't offered at all.
In sum: as far as my experience goes, educational standards are set up specifically to frustrate and impede fast learners.
Ran out at which level? The author apparently went to a high school without calculus. I'm trying to get a feel for how common that is, especially since it looks like several times more schools offer calculus now than when the author went to school in the late 1980s.