Oracle Interview Question

Gas station( Greedy) leetcode and dp question