Question
Back to all questions

How would you create a tiny url system?

Hard Difficulty

Hard questions require advanced understanding and critical thinking. Here, your problem-solving skills are key, as these questions often involve complex scenarios needing in-depth analysis and well-structured responses.

Technical question

Technical questions probe into your industry-specific knowledge and skills. They require precise answers and are an opportunity to show your expertise and practical abilities in your field.

Here's a Hint

Begin by explaining the primary goal of a tiny url system: to convert long urls into shortened versions that redirect to the original urls. Touch upon key components like a hash function to generate short links, a database to store the mapping, and ensuring unique urls. It's also important to discuss potential challenges such as collision in hash functions, scalability concerns, and expired urls. If familiar, mention popular algorithms or techniques used in real-world tiny url services.

See More

Company Asking this Question

121 Companies on InterviewPal have asked this question in the past year.