The first intro classes were boring because I already knew the entire curriculum. (Except for the specific programming language that was obscure but easy to learn)
In one obligatory assignment I solved the problem fairly quickly. Then the professor gave me an F on it because I had not solved it they way it was meant to be solved. Which was using the code we had learned so far in her class.
Mine was shorter and faster.
I was not at all pleased.
I ran into her a few days later and she apologized and said I have done a good done solving it and gave me an A. What a flip.
Once I got into more advanced classes I learned a lot at the uni.