Oracle interview question

C, C++, Data structures, Puzzles