Daily iOS
CS fundamentals and algorithmsN26interview report

HashMap vs Set

In a one-hour coding test you have to find duplicates in a list of customer IDs and also count how often each ID appears. When would you use Swift's Set and when Dictionary?

Submit