Combinations: Given two integers n and k, return all possible combinations of k numbers chosen from the range [1, n].
read more
Combinations: Given two integers n and k, return all possible combinations of k numbers chosen from the range [1, n].
read more
Permutations II: Given a collection of numbers, nums, that might contain duplicates, return *all possible unique permutations in any order*.
read more
Permutations: Given an array nums of distinct integers, return all the possible permutations.
read more
Subsets II: Given an integer array nums that may contain duplicates, return all possible subsets (the power set).
read more
Subsets: Given an integer array nums of unique elements, return all possible subsets (the power set).
read more
Letter Combinations of a Phone Number: Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent.
read moreDon’t settle for anything less than the crown. Join our newsletter and become the King of Interviews! Click here to join now and get the latest updates.