Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 211 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 211 Bytes

This problem was asked by Microsoft.

Given a number in the form of a list of digits, return all possible permutations.

For example, given [1,2,3], return [[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,1,2],[3,2,1]].