We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0086bf4 commit 29fb07aCopy full SHA for 29fb07a
python/0271-encode-and-decode-strings.py
@@ -1,4 +1,4 @@
1
-class Solution:
+class Codec:
2
def encode(self, strs):
3
return ''.join(map(lambda s: str(len(s)) + '#' + s, strs))
4
0 commit comments