Design Tiny-URL-Mostly asked System Design Interview Questions with coding examples for Java Developers
Designing tiny URLs is one of the frequently asked questions in any coding or system design interview, they are must-know for every experienced Developer.
Are you preparing for a job interview as a Java developer?
Find my book Guide To Clear Java Developer Interview here Gumroad (PDF Format) and Amazon (Kindle eBook).
Download the sample copy here: Guide To Clear Java Developer Interview[Free Sample Copy]
Guide To Clear Spring-Boot Microservice Interview[Free Sample Copy]
Design Tiny-URL (URL shortening service) — How to Design a URL shortening service?
Goal: Convert a long URL and design a service in such a way that it would generate a shorter and unique alias for it.
First We need to ask questions regarding the requirements of the scope of this application.
Challenges: How would we address the following issues? You would be asked the following questions.
How to generate a unique ID for each…