Sollicitatievraag bij Skyscanner

How would you randomly shuffle an array without any in-built function?