Jane Street interview question

Fischer-Yates shuffle