[CentralOH] Python Problem for DoJo Tonight
Travis Risner
deeppunster at gmail.com
Thu Mar 14 15:22:19 EDT 2019
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 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:
Smokehouse Brewing
1130 Dublin Road
Columbus, OH 43215
(614) 485-0227
Travis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/centraloh/attachments/20190314/d544d413/attachment.html>
More information about the CentralOH
mailing list