1434. Number of Ways to Wear Different Hats to Each Other - Hard | DSA Corner | Talentd