Design a URL Shortener (Pair Programming)

Problem: Implement a URL Shortener (Pair Programming)

Implement a URL shortener that can encode a long URL into a short URL and decode it back.

Requirements

  • Implement two functions:
    • `en...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: