1. how would you improve it
what are you 3 favorite products, choose 1 and how would you improve it
2. What do you do
You are the GM of Disneyland. You want to lower the length of the waiting lines. What do you do?
3. Shipping Path and Cost Retrieval
Given an input list of strings in the format ['US:UK:UPS:4', 'UK:CA:UPS:3', 'US:UK:FEDEX:4', ...], where each string represents a shipping route with source, destination, carrier, and cost, answer the following questions:
1. For given source (src) and destination (dest), return the shipping path, method, and cost.
2. For a given stop, return the path, method, and cost.
3. For a given stop, return the path, method, and cost with the minimum cost.
4. For unlimited stops, find the path, method, and cost with the minimum cost.
4. Catch Me If You Can - Part 3
Enhance the fraud detection algorithm to allow merchants to dispute transactions marked as fraudulent. If a dispute is accepted, the transaction will not count as fraudulent, and merchants can return to non-fraudulent status if their fraud ratio drops below the threshold. The input includes the same elements as in Part 1 and 2, with the addition of disputes provided in a specific format. Update the list of fraudulent merchants based on accepted disputes.
5. Catch Me If You Can - Part 2
Modify the fraud detection algorithm from Part 1 to use the percentage of fraudulent transactions as the threshold for marking a merchant as fraudulent. The threshold is now a fraction representing the percentage of fraudulent transactions allowed. If a merchant's fraud percentage ever meets or exceeds this threshold, they will be marked as fraudulent and remain so even if their percentage drops later. The input is the same as in Part 1, but with the threshold representing a fraction. The output should list the fraudulent merchants.