We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c0ab2e commit 6e7efa2Copy full SHA for 6e7efa2
src/hackerrank/interview_preparation_kit/sort/ctci_bubble_sort.js
@@ -4,7 +4,7 @@
4
5
const SEPARATOR = '\n';
6
7
-export class SortableGroup {
+class SortableGroup {
8
group;
9
10
count;
@@ -38,7 +38,7 @@ export class SortableGroup {
38
}
39
40
41
-export function countSwaps(a) {
+function countSwaps(a) {
42
const sortableGroup = new SortableGroup(a);
43
sortableGroup.bubble_sort();
44
@@ -53,3 +53,4 @@ export function countSwaps(a) {
53
54
55
export default { countSwaps, SortableGroup };
56
+export { countSwaps, SortableGroup };
0 commit comments