Skip to content

Commit cbb863f

Browse files
Gonzalo Diazsir-gon
Gonzalo Diaz
authored andcommitted
[REFACTOR] [Hacker Rank] Interview Preparation Kit: Arrays: Minimum Swaps 2.
* Adjusted the interface to match what hackerrank expects.
1 parent 33d8506 commit cbb863f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackerrank/interview_preparation_kit/recursion_and_backtracking/recursive_digit_sum.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export function superDigitCompute(n) {
1717
return superDigitCompute(`${partial}`);
1818
}
1919

20-
export function superDigit(n, k) {
20+
function superDigit(n, k) {
2121
const accumulator = `${superDigitCompute(n)}`;
2222

2323
let result = '';

0 commit comments

Comments
 (0)