Fetching data...
This may take a moment
Back
1640. Design a File Sharing System
Medium
Hash Table
Design
Sorting
Heap (Priority Queue)
Data Stream
Solve on LeetCode
View Solutions
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
Design Twitter
Medium
Statistics
Acceptance
41.8%
Submissions
15,300
Accepted
6,389