Skip to content

Commit ecbd1c7

Browse files
committed
Make LongestIncreasingSubsequenceNLogN class final to prevent subclassing
1 parent 9df9f0f commit ecbd1c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @author Vusal Huseynov (https://github.com/huseynovvusal)
88
*/
9-
public class LongestIncreasingSubsequenceNLogN {
9+
public final class LongestIncreasingSubsequenceNLogN {
1010
private LongestIncreasingSubsequenceNLogN() {
1111
}
1212

0 commit comments

Comments
 (0)