Upstart Interview Question

1. Sorting anagrams into a bucket( a LeetCode problem). 2. given an encoded string, return decoded string