Argusoft interview question

Solving problems on spot with quick thinking ability