Skip to content

Commit 29fb07a

Browse files
author
Chris Cooper
committed
Update 0271-encode-and-decode-strings.py
Changed 'Solution' to 'Codec'.
1 parent 0086bf4 commit 29fb07a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/0271-encode-and-decode-strings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
class Solution:
1+
class Codec:
22
def encode(self, strs):
33
return ''.join(map(lambda s: str(len(s)) + '#' + s, strs))
44

0 commit comments

Comments
 (0)