mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-23 20:44:39 +08:00
Format code with prettier (#3375)
This commit is contained in:
@ -25,7 +25,7 @@ public class RodCutting {
|
||||
|
||||
// main function to test
|
||||
public static void main(String args[]) {
|
||||
int[] arr = new int[]{2, 5, 13, 19, 20};
|
||||
int[] arr = new int[] { 2, 5, 13, 19, 20 };
|
||||
int result = cutRod(arr, arr.length);
|
||||
System.out.println("Maximum Obtainable Value is " + result);
|
||||
}
|
||||
|
Reference in New Issue
Block a user