IBM interview question

Polymorfism, keywords in C++, basic graph traversals