Number of Ways to Wear Different Hats to Each Other

hardSolve on LeetCode
Last edited: August 2, 2025