Skip to content

Commit 8af3b5a

Browse files
refactor 698
1 parent bf3c707 commit 8af3b5a

File tree

1 file changed

+0
-16
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-16
lines changed

src/main/java/com/fishercoder/solutions/_698.java

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 698. Partition to K Equal Sum Subsets
5-
*
6-
* Given an array of integers nums and a positive integer k,
7-
* find whether it's possible to divide this array into k non-empty subsets whose sums are all equal.
8-
9-
Example 1:
10-
11-
Input: nums = [4, 3, 2, 3, 5, 2, 1], k = 4
12-
Output: True
13-
Explanation: It's possible to divide it into 4 subsets (5), (1, 4), (2,3), (2,3) with equal sums.
14-
15-
Note:
16-
1 <= k <= len(nums) <= 16.
17-
0 < nums[i] < 10000.
18-
*/
193
public class _698 {
204

215
public static class Solution1 {

0 commit comments

Comments
 (0)