Top 3 Vendors by Total Charged Dollars in Last 2 Years
Asked at Zoox · ML Fundamentals & Algorithms · Difficulty: Medium
Given `transactions(transaction_id, user_id, vendor_id, transaction_time, transaction_dollars, transaction_type, refund_transaction_id)` (transaction_type PURCHASE/REFUND; a REFUND's refund_transaction_id points to the original PURCHASE) and `vendors(vendor_id, city, state_province, country)`.
Loading the problem…
More Zoox interview questions
- System Design for Full Stack Applications
- Top 3 Vendors by Total Charged Amount in the Last 2 Years (Net of Refunds)
- Top 3 vendors by city and state in the last 2 years
- JavaScript Proficiency Assessment
- Compute Roller Coaster Overall Scores (Extensible Rules)
- Enforce Execution Order Across Three Threads