mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-12-19 07:00:35 +08:00
Closing scanners.
This commit is contained in:
@@ -17,6 +17,7 @@ public class LongestIncreasingSubsequence {
|
||||
}
|
||||
|
||||
System.out.println(LIS(ar));
|
||||
sc.close();
|
||||
}
|
||||
|
||||
private static int upperBound(int[] ar, int l, int r, int key) {
|
||||
|
||||
Reference in New Issue
Block a user