The most optimal solution is not the fastest?

  • 0

    This is partly a joke, however I'm still curious as to why this submission was only better than 56% of other submissions.

    class Codec:
        def encode(self, url):
            return url
        def decode(self, url):
            return url

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.