https://practice.geeksforgeeks.org/problems/phone-directory/0