We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 299ef99 commit 1f60c44Copy full SHA for 1f60c44
solution/0400-0499/0402.Remove K Digits/Solution.ts
@@ -11,4 +11,4 @@ function removeKdigits(num: string, k: number): string {
11
stk.pop();
12
}
13
return stk.join('').replace(/^0*/g, '') || '0';
14
-};
+}
0 commit comments