Qbase interview question

How would you do this in C++

Interview Answer

Anonymous

16 June 2012

I am more of a Java person and would do it in the following way. (My CV clearly said, I USE JAVA!)