The interviewer asked a few questions about programming language. e.g. virtual functions. Then he asked some questions about data structure. I gave some possible approaches with different time complexity. Finally, I need to write code of the fastest approach and email the code to him within half an hour.