Groupon interview question

All were CTCI-based problems, like group anagrams together.