I have to second Chi Meson's response. The way to fill in the holes is to become more actively engaged in a subject by asking how and why. Essentially you have to go beyond the course work and apply each concept in an independent manner to a new problem. From there, understanding naturally evolves.
Another argument in favour of memorization is that it can save you time in having to look things up.