GlobalLogic Interview Question

Design a simple URL Shortener — explain endpoints, database schema, and how it handles redirects.