Pibit.ai interview question

first round: 2sum, group anagrams