Implement a URL shortening service as a class. It should expose encode(long_url), which returns a short URL, and decode(short_url), which returns the original URL. Explain which data structures you…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.