Skip to content

Commit c275911

Browse files
committed
Update Impl Private Constructor in SherLockAndCost.java
1 parent 4ccc8a0 commit c275911

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
import java.util.List;
1111

1212
public final class SherLockAndCost {
13+
private SherLockAndCost() {
14+
}
1315

1416
/**
1517
* This method takes a list of integers as input and returns the maximum possible sum of absolute differences between adjacent elements in the array.

0 commit comments

Comments
 (0)