AlgoViz

Design a URL crawler

hard 60 min

Start from a few addresses, download pages, find links, and repeat a billion times a month.

A polite frontier with a Bloom filter

Read it, run it, change a line and run it again.

Loading editor…

A simulated clock, no network. Hosts are ordered by the next time they may be visited; URLs inside a host by value.