← Navis questions
CodingReported in a candidate post, Jul 2025

Implement URL shortening

Filed under Navis

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.

Related Navis questions

Collected from public candidate posts and coding forums. Updated Nov 2026.