PrepWithMahii

You are designing a Java-based contact management app. Each contact is stored using a unique contactId as the key in a HashMap.

Initially, everything works fine. But suddenly, your app becomes slow when fetching contacts using get(contactId).

What could be a possible reason for the slowdown?

4 months ago | [YT] | 15