Goldman Sachs interview question

Aptitude, basic C Programming, DBMS