Encode and Decode TinyURL LeetCode solution in Python

1
class Codec:
2

3
def encode(self, longUrl):
4
return longUrl
5

6
def decode(self, shortUrl):
7
return shortUrl

0

WPM •0 •0

100%

ACC •0 •0

0s

TIME •0