mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
Format code with prettier (#3375)
This commit is contained in:
@@ -40,8 +40,8 @@ public class KnapsackMemoization {
|
||||
|
||||
// Driver code
|
||||
public static void main(String args[]) {
|
||||
int[] wt = {1, 3, 4, 5};
|
||||
int[] value = {1, 4, 5, 7};
|
||||
int[] wt = { 1, 3, 4, 5 };
|
||||
int[] value = { 1, 4, 5, 7 };
|
||||
int W = 10;
|
||||
t = new int[wt.length + 1][W + 1];
|
||||
Arrays.stream(t).forEach(a -> Arrays.fill(a, -1));
|
||||
|
||||
Reference in New Issue
Block a user