URL Shortener
Build a service that turns a long link into a short code and redirects to it. Store the mapping in PostgreSQL or MySQL, expose create and redirect endpoints, and handle a code that already exists.
- APIs & REST
- Databases (SQL)
- Data Structures & Algorithms
Be ready to explain: How you generate codes without collisions, and what changes if one link suddenly gets heavy traffic.