Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Format array and list literals in CombinationSumTest
  • Loading branch information
Avaneeshakrishna authored Oct 10, 2025
commit 79dc52b4da63557dc1ea1d6baee95689b2be45be
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ private static List<List<Integer>> norm(List<List<Integer>> x) {

@Test
void sample() {
int[] candidates = {2,3,6,7};
int[] candidates = {2, 3, 6, 7};
int target = 7;
var expected = List.of(List.of(2,2,3), List.of(7));
var expected = List.of(List.of(2, 2, 3), List.of(7));
assertEquals(norm(expected), norm(CombinationSum.combinationSum(candidates, target)));
}
}
Loading