Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
selwtysaxoac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
selwtysaxoac
6y ago
Yes, I asked about the unconstrained problem. Sorry, I should have mentioned that.
2.
▲
by
selwtysaxoac
6y ago
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.