Apple logoApple
CodingMembers

Permutations

Members only

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

SWE
medium
backtracking
recursion
Frequency
Single report
Last asked
2026-01-17
Stage
phone-screen

Log in to continue reading the full content