Back to all patterns

Backtracking / Skip Duplicates

1 problems • Practice on LeetCode to earn credits

About This Pattern

Master the Backtracking / Skip Duplicates pattern by practicing these problems organized by difficulty.Focus on the Key Signals - these are the indicators that tell you when to use this pattern.

Medium (1)

Permutations II

Given a collection of numbers that might contain duplicates, return all possible unique permutations.

Key Signals:

Generate all combinationsDuplicates in inputSorting first