← Wells Fargo questions

Least cost to fill car petrol tank to capacity c

Filed under Wells Fargo

Given n petrol pumps with available petrol volumes and costs, and a car tank capacity c, find the minimum cost to fill the tank to a total volume as close to c as possible (<= c) by either taking full…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Wells Fargo questions

Collected from public candidate posts and coding forums. Updated Nov 2026.