Azienda coinvolta
Code secret santa
Anonimo
Gist: Insert all the names in a vector. Use Fisher-Yates algo to shuffle the vector randomly in O(N) time. Now that the array is shuffles, for each i, (i-1)%n becomes it's secret Santa.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.