← Samsung questions
CodingReported in a candidate post, May 2025

Find all permutations and combinations of an array

Filed under Samsung

Implement two functions: one to find all unique permutations of an array of integers, and another to find all possible combinations (subsets) of the same array.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Samsung questions

Collected from public candidate posts and coding forums. Updated Nov 2026.