Secret Santa Problem
Design and implement a Secret Santa allocation program to ensure that each participant receives a gift. Each participant must give a gift to another participant, and cannot give to themselves or a spe...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
