note this companion problem System design problem Design tinyurltinyurl url shortening service enter url httpsleetcodecomproblemsdesigntinyurl return short URL httptinyurlcom4e9iAk Design class encode URL decode tiny URLThere restriction encodedecode algorithm work you need ensure url encode tiny url tiny url decode original URLImplement Solution classsolution initialize object systemstring encodestre longUrl return tiny url give longurlstre decodestre shorturl return original long url give shortUrl it guarantee give shortUrl encode object Example 1input url httpsleetcodecomproblemsdesigntinyurloutput httpsleetcodecomproblemsdesigntinyurlexplanationsolution obj new Solutionstring tiny objencodeurl return encode tiny urlstring an objdecodetiny return original url deconde Constraints1 urllength 104url gurantee valid url