Google | Phone Screen | Group Anagrams & Generalized Abbreviation

Location: India
Position: Software Engineer

The interview lasts for about an hour. Interviewer asked me the following two questions.

Question 1:
https://leetcode.com/problems/group-anagrams/

Solution: I used a hashMap and stored sorted value of each word as a key and if it is present in the map and then put it into the corresponding list.

Question 2:
https://leetcode.com/problems/generalized-abbreviation/ (premium)

Comments (3)