[CentralOH] Python Problem for DoJo Tonight
deeppunster at gmail.com
Fri Mar 15 16:25:28 EDT 2019
Mike Rehner has published a solution (see his email in this thread). I
have created a (perhaps overly complicated) solution and posted it on
GitHub at https://github.com/deeppunster/ShortLongURL.
If you have a solution you are willing to share, please post it here (or
a link to it).
On 14 Mar 2019, at 15:22, Travis Risner wrote:
> Hi folks,
> Here is today’s problem for people who show up at the DoJo tonight.
> Implement a URL shortener with the following methods:
> shorten(URL), which shortens the URL into a six-character
> string, such as zLg6wl.
> restore(short), which expands the shortened string into the
> original URL. If no such shortened string exists, return null.
> Hint: What if we enter the same URL twice?
> See you at the DoJo:
> Smokehouse Brewing
> 1130 Dublin Road
> Columbus, OH 43215
> (614) 485-0227
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentralOH