No, that was the purpose of high school. As not practiced in public schools, as not practiced in the US
The purpose of high school is to give you a wide foundation on everything.
The purpose of an undergraduate degree (in math) is to give you a wide foundation (in math).
In a (math) PhD, you are generally hyper-specialized in a very, very narrow area (of math).
Given her achievements, I'd be very surprised if Cairo hasn't already covered the material in an undergrad degree
If a young person is exceptional, do we force them into a liberal arts box? Surely there is value in literature and history. But this one young woman had found her passion. I have to believe that is she found out about something else, she would take that on.