โ† Amazon questions

Randomize array and permutations

Filed under Amazon

Given an array of integers, implement a function to shuffle the array randomly (Fisher-Yates) and another to generate all possible permutations of the array.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.