Payfare Interview Question

Grouping Anagram coding question (similar to leetcode)