Given a digit string, return all possible letter combinations that the number could represent. A ma
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in order. You...
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space for anothe...
Given a collection of numbers that might contain duplicates, return all possible unique permutations. For example, [1,1,2] have the following unique permutat...
Given a collection of distinct numbers, return all possible permutations. For example, [1,2,3] have the following permutations: [ [1,2,3], [1,3,2], [...