Practice
/

Cheapest Flights Within K Stops

Cheapest Flights Within K Stops

Find the cheapest price to fly from a source to a destination with at most k intermediate stops, given a list of flights with prices.

Premium Content

Create a free account, then unlock this problem and the entire premium catalog with a one-time CodeSnatch Premium purchase.

Already have an account with premium access? Sign in to continue.