mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-09 12:11:28 +08:00
Closed Scanner in 3 sum, fixed syntax errors in BucketSort.java
This commit is contained in:
@ -54,7 +54,7 @@ class threesum{
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
sc.close();
|
||||
|
||||
}
|
||||
}
|
@ -1,7 +1,8 @@
|
||||
package Sorts;
|
||||
|
||||
import java.util.Random;
|
||||
|
||||
public class Bucket_Sort
|
||||
public class BucketSort
|
||||
{
|
||||
static int[] sort(int[] sequence, int maxValue)
|
||||
{
|
||||
|
Reference in New Issue
Block a user