mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +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