UberCodingMembers
Number of Ways to Wear Different Hats to Each Other
Members only
Given n people and 40 hat types where each person lists the hats they are willing to wear, count the assignments in which every person gets exactly one liked hat and no two people share a hat, modulo ...
SWE
dp
state-compression-dp
bitmask
hard
Frequency
Single report
Last asked
2026-04-01
Stage
phone-screen
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
