Number of Ways to Wear Different Hats to Each Other SolutionsNumber 1434Difficulty HardAcceptance 38.0%Link LeetCodeSolutionsC++