[CentralOH] Python Problem for DoJo Tonight
deeppunster at gmail.com
Thu Mar 14 15:22:19 EDT 2019
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 alphanumeric
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:
1130 Dublin Road
Columbus, OH 43215
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the CentralOH