mirror of
https://github.com/TheAlgorithms/Java.git
synced 2026-03-13 08:40:43 +08:00
Closed Scanner in 3 sum, fixed syntax errors in BucketSort.java
This commit is contained in:
@@ -53,8 +53,8 @@ class threesum{
|
||||
else r--;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
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