Quantiphi interview question

Interviewer asked me to write DSA and prblem solving codes either in python or Java. And a few more SQL queries intermediate to hard. There were questions from OOPs CN and etc..,