Closed Scanner in 3 sum, fixed syntax errors in BucketSort.java

This commit is contained in:
Hardik Kapadia
2020-06-30 00:14:04 +05:30
parent 88d65ff5bf
commit 5150a6bd87
2 changed files with 3 additions and 2 deletions

View File

@ -53,8 +53,8 @@ class threesum{
else r--;
}
}
sc.close();
}
}

View File

@ -1,7 +1,8 @@
package Sorts;
import java.util.Random;
public class Bucket_Sort
public class BucketSort
{
static int[] sort(int[] sequence, int maxValue)
{