Google interview question

Remove duplicate lines from an large text.