Oracle interview question

Standard Fuel Stations from leetcode