Skip to content

Commit 93eab2a

Browse files
committed
[REFACTOR] [Hacker Rank] Interview Preparation Kit: String Manipulation: Alternating Characters.
* Adjusted the interface to match what hackerrank expects.
1 parent 2472702 commit 93eab2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hackerrank/interview_preparation_kit/string_manipulation/alternating_characters.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @link Problem definition [[docs/hackerrank/interview_preparation_kit/string_manipulation/alternating-characters.md]]
33
*/
44

5-
export function alternatingCharacters(s: string): number {
5+
function alternatingCharacters(s: string): number {
66
let last = '';
77
let newString = '';
88

0 commit comments

Comments
 (0)