Glad our uni was programming-heavy and required us to implement our own stdlib in C and C++ and then tested it on speed, accuracy, memory constraints and extreme scenarios.
We then used our own true-and-tested implementations in the upcoming assignments - like DFS, BFS, A*, graph search, simulated annealing / tabu search / genetic algorithms, and many more.
While it was kind of a pain submitting my code and automatic testing software told me it didn't pass some random valued and finding the bugs, it was very educational and I taught me a lot.
I've had 4 years of programming before uni, tho.