leetle

Daily challenge for 2025-03-05

64. Group Anagrams

Write a function solve that groups anagrams together.

Example:
Input: ["eat","tea","tan","ate","nat","bat"]
Output: [["eat","tea","ate"],["tan","nat"],["bat"]]

Run this challenge interactively in Python or JavaScript when the app loads.