shreyansh

Backtracking Problems

  1. Combination Sum

    Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of

  2. Combination Sum 2

    Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candi

  3. Combination Sum 4

    Given an array of distinct integers nums and a target integer target, return the number of possible combinations that ad

  4. Partition to K Equal Sum Subsets

    Given an integer array nums and an integer k, return true if it is possible to divide this array into k non-empty subset

  5. SubSets II

    Given an integer array nums that may contain duplicates, return all possible subsets (the power set).