Circular Array
0 lessons
2 problems
circular-array
Practice Problems
2 problems
Gas Station
Free
Not Started
Given arrays of gas available and cost to travel to the next station arranged in a circle, find the starting station index that lets you complete the circuit, or return -1 if impossible.
House Robber II
Not Started
Houses are arranged in a circle. Adjacent houses cannot be robbed on the same night, and the first and last houses are also adjacent. Determine the maximum amount of money you can rob.
