Google interview question

To write a file parser