---
title: "Discussion on \"#787. Cheapest Flights Within K Stops\" | Hashnode"
description: "Discussion on \"#787. Cheapest Flights Within K Stops\". https://leetcode.com/problems/cheapest-flights-within-k-stops/description/?envType=daily-question&envId=2024-02-23\nvar findCheapestPrice = function(n, flights, src, dst, K) {\n    const adjacencyList = new Map();\n\n    for(let [start, end, cost] of fli..."
url: "https://hashnode.com/posts/787-cheapest-flights-within-k-stops/65d8d22df276944eecda1dc2"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [#787. Cheapest Flights Within K Stops](https://karleb.hashnode.dev/787-cheapest-flights-within-k-stops?utm_source=hashnode&utm_medium=feed)

https://leetcode.com/problems/cheapest-flights-within-k-stops/description/?envType=daily-question&envId=2024-02-23 var findCheapestPrice = function(n, flights, src, dst, K) { const adjacencyList = new Map(); for(let \[start, end, cost\] of fli...

Feb 23, 2024 · 1 min read · karleb.hashnode.dev  
Read the article

-   [#leetcode](https://hashnode.com/tag/leetcode)

## Written by

[Karleb](https://hashnode.com/@Karleb)

@Karleb · Nigeria

  
[View profile](https://hashnode.com/@Karleb)

I am an enthusiastic web developer

I am a web developer who specializes on the PHP language with Laravel framework and currently developing love for nodejs. I love Javascript and all its frameworks. Tailwind is dope! 😎

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
