Problem 1500 · Medium

Design a File Sharing System

Run a sharing service for a file split into numbered chunks: joining users get the smallest free positive id, and leaving users release it and stop sharing. A chunk request lists every current holder in ascending order, and the requester gains a copy if someone else held it.

Open the interactive visualisation