DSA Key Problems

Permutations

Given an array of distinct integers, return all possible orderings of its elements.