State Farm Interview Question

Eliminate duplicate characters in a file