1640. Design a File Sharing System

Medium
Hash Table
Design
Sorting
Heap (Priority Queue)
Data Stream

Description

Hints

Hint 1
Try to solve it by keeping for each file chunk, the users who have this chunk.
Hint 2
Try to solve it by keeping all the users in the system with their owned chunks, and when you request a chunk, check all users for it.

Similar Questions

Statistics

Acceptance
41.8%
Submissions
15,300
Accepted
6,389