Permutations (C# and Python3)

Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order.

Solution

C#

Python3

Don’t miss these tips!

We don’t spam! Read our privacy policy for more info.

Open chat
Powered by