The Zappos Family interview question

Write permutations of a given numbers