Better HN
topnewbestaskshowjobs
Log inSign up

selwtysaxoac

4 karma · joined Feb 9, 2021 (5y ago) · 2 submissions

Submissions

comment 5y ago · link · parent

Yes, I asked about the unconstrained problem. Sorry, I should have mentioned that.

comment 5y ago · link · parent

Can't the Secret Santa problem be solved just by shuffling an array of participants, and assigning a person A[i] to give a gift to a person A[(i+1)%N]?

I have a feeling that this is not correct, but cannot determine why.