Remove Duplicates While Preserving Order in List | Google Coding Question