Nagarro interview question

Backend Java array, hashmap, string manipulation based