Tiger Analytics Interview Question

Implementing queue Anagram program Group by order by