DSA Master
Home
Problems
123
Schedule
17 Patterns
Data Structures
PDF Guide
Back to Problems
Mark as Complete
Permutations
#46
Medium
Backtracking
O(n!)
O(n)
Amazon
Microsoft
Google
Facebook
View on LeetCode
Description
Approach
Solution
Related
Problem Description
Given an array nums of distinct integers, return all the possible permutations.