AlgoViz

Design a URL shortener

medium 45 min

Turn a long URL into a short code and redirect anyone who opens it.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 10

Score 0
conceptual

You create codes by hashing the long URL and keeping 7 base62 characters. What must the write path do?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 10

Recall

How many 7-character base62 codes are there, and why does it matter?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.