mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-18 17:31:13 +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