Life360 interview question

Basic HashMap implementation