Data Structures & Algorithms
100+ curated problems from top tech interviews
100+ curated problems from top tech interviews
3 problems found
Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets....
Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order....
The n-queens puzzle is the problem of placing n queens on an n x n chessboard such that no two queens attack each other. Given an integer n, return al...