Showing 3 questions
You are given a collection of intervals. Merge all overlapping intervals into a single interval and return the result.
#1. Merge Intervals
You're given a set of coins, each with a different probability of landing heads. Determine the probability of getting a specific number of heads after tossing all the coins.
#2. Toss Strange Coins
Design a system where users can upload files and share them with others. The system should handle downloading files and tracking which users own specific file copies.
#3. Design a File Sharing System