Zscaler Interview Question

Deadlock, Memory Management coding on string and hashmap