Skip to content

Commit 9491b45

Browse files
committed
Minor changes
1 parent d4bd9e7 commit 9491b45

4 files changed

Lines changed: 5 additions & 3 deletions

File tree

Sorts/src/sort/BinaryTreeSort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @see SortAlgorithm
1111
*
1212
*/
13-
public class BinaryTreeSort implements SortAlgorithm{
13+
public class BinaryTreeSort implements SortAlgorithm {
1414

1515
interface TreeVisitor<T extends Comparable<T>> {
1616
void visit(Node<T> node);

Sorts/src/sort/BogoSort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* @see SortAlgorithm
1313
*
1414
*/
15-
public class BogoSort implements SortAlgorithm{
15+
public class BogoSort implements SortAlgorithm {
1616

1717
private static final Random random = new Random();
1818

Sorts/src/sort/BubbleSort.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* @see SortAlgorithm
1111
*/
1212

13-
class BubbleSort implements SortAlgorithm{
13+
class BubbleSort implements SortAlgorithm {
1414
/**
1515
* This method implements the Generic Bubble Sort
1616
*

Sorts/src/sort/HeapSort.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
package sort;
2+
13
import java.util.Scanner;
24

35
/**

0 commit comments

Comments
 (0)