The problem, in one line. Given a list of words, put the words that are rearrangements of each other into the same group. LeetCode 49.
The tell. “Group the ones that are the same under some rule.” When two items count as equal if they share a property, compute that property for each item and use it as a dictionary key.
Included with a plan
This solution is part of a plan.
A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.