Moveo Group interview question

a hash table Leetcode question