Graph

  • Published on
    Given an integer array nums of unique elements, return all possible course Schedule (the power set). The solution set must not contain duplicate course Schedule. Return the solution in any order.
  • Published on
    Given an integer array nums of unique elements, return all possible reconstruct Itinerary (the power set). The solution set must not contain duplicate reconstruct Itinerary. Return the solution in any order.
  • Published on
    Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the solution in any order.
  • Published on
    Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target.
  • Published on
    Given two integers n and k, return all possible combinations of k numbers chosen from the range [1, n]. You may return the answer in any order.
  • Published on
    Given an array nums of distinct integers, return all the possible permutations. You can return the answer in any order. All the integers of nums are unique.