Design Scalable TinyURL Service with One-to-One URL Mapping
Easyconfluent
Design a TinyURL service where each long URL can only correspond to a single short URL. Consider scalability to support sharding and handling similar to DNS.
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:
