This Q&A is part of a weekly series of posts highlighting common questions encountered by technophiles and answered by users at Stack Exchange, a free, community-powered network of 100+ Q&A sites.
I'm taking an "object-oriented programming" course which has basically turned into a C++ course. In order to familiarize ourselves with the algorithms provided by the stl, we aren't allowed to use any ...