Loading Company...
This is a verified interview question from Code-with-cisco. Candidates reporting seeing this problem in recent Online Assessments (OAs) and onsite rounds. Mastering "Ride-Share Surge Pricing" covers key patterns like Other.
"Given a list of ride fares and a surge pricing multiplier, calculate the total fare for each ride and return the maximum total fare. The surge pricing multiplier increases every 5 minutes and is exactly 90% of the previous multiplier. The maximum surge pricing multiplier is 10. "
Join thousands of developers practicing for Code-with-cisco.