Quinbay interview question

oops, DSA, C++, puzzels ,aptitude