FloQast Interview Question

Using a hashmap, check if user actions have repeated keypresses that are causing an error