Skip to content

Commit 4388ac3

Browse files
committed
chore: add complexity
1 parent bd504ff commit 4388ac3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

encode-and-decode-strings/tolluset.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/*
2+
* TC: O(nm)
3+
* SC: O(nm)
4+
* */
15
function encode(arr: string[]): string {
26
return arr.join("🎃");
37
}

0 commit comments

Comments
 (0)