Closing scanners.

This commit is contained in:
Hassan
2020-01-28 18:34:52 +02:00
parent 4f45c5a479
commit a1f59c38b1
27 changed files with 29 additions and 4 deletions

View File

@ -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) {