Skip to content

Commit 1b9077d

Browse files
committed
Formatted Knapsack.java to pass linter and added 0/1 Knapsack algorithm
1 parent 7b8057a commit 1b9077d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/thealgorithms/dynamicprogramming/Knapsack.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
*/
2424
public final class Knapsack {
2525

26-
private Knapsack() { }
27-
26+
private Knapsack() {
27+
}
2828
/**
2929
* Validates the input to ensure correct constraints.
3030
*/

0 commit comments

Comments
 (0)