Skip to content

Commit 9df9f0f

Browse files
committed
Add private constructor to LongestIncreasingSubsequenceNLogN class to prevent instantiation
1 parent a974cb5 commit 9df9f0f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77
* @author Vusal Huseynov (https://github.com/huseynovvusal)
88
*/
99
public class LongestIncreasingSubsequenceNLogN {
10+
private LongestIncreasingSubsequenceNLogN() {
11+
}
1012

1113
/**
1214
* Finds the index of the smallest element in the array that is greater than

0 commit comments

Comments
 (0)