<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:atom="http://www.w3.org/2005/Atom" xmlns:media="http://search.yahoo.com/mrss/" version="2.0">
    <channel>
        
        <title>
            <![CDATA[ dijkstra - freeCodeCamp.org ]]>
        </title>
        <description>
            <![CDATA[ Browse thousands of programming tutorials written by experts. Learn Web Development, Data Science, DevOps, Security, and get developer career advice. ]]>
        </description>
        <link>https://www.freecodecamp.org/news/</link>
        <image>
            <url>https://cdn.freecodecamp.org/universal/favicons/favicon.png</url>
            <title>
                <![CDATA[ dijkstra - freeCodeCamp.org ]]>
            </title>
            <link>https://www.freecodecamp.org/news/</link>
        </image>
        <generator>Eleventy</generator>
        <lastBuildDate>Thu, 16 Jul 2026 16:52:47 +0000</lastBuildDate>
        <atom:link href="https://www.freecodecamp.org/news/tag/dijkstra/rss.xml" rel="self" type="application/rss+xml" />
        <ttl>60</ttl>
        
            <item>
                <title>
                    <![CDATA[ Understanding Dijkstra's Algorithm ]]>
                </title>
                <description>
                    <![CDATA[ In 1956, a young programmer was taking his girlfriend shopping in Amsterdam. Feeling tired, they sat down at a cafe terrace for a cup of coffee. In the 20 minutes it took to finish their drinks, he co ]]>
                </description>
                <link>https://www.freecodecamp.org/news/understanding-dijkstra-s-algorithm/</link>
                <guid isPermaLink="false">6a58c0ae78ff326927bcf6bc</guid>
                
                    <category>
                        <![CDATA[ dijkstra ]]>
                    </category>
                
                    <category>
                        <![CDATA[ youtube ]]>
                    </category>
                
                    <category>
                        <![CDATA[ video essay ]]>
                    </category>
                
                <dc:creator>
                    <![CDATA[ Beau Carnes ]]>
                </dc:creator>
                <pubDate>Thu, 16 Jul 2026 11:29:50 +0000</pubDate>
                <media:content url="https://cdn.hashnode.com/uploads/covers/5f68e7df6dfc523d0a894e7c/e02f5472-4cdc-428e-a0ae-e3e71ed17bcb.png" medium="image" />
                <content:encoded>
                    <![CDATA[ <p>In 1956, a young programmer was taking his girlfriend shopping in Amsterdam. Feeling tired, they sat down at a cafe terrace for a cup of coffee. In the 20 minutes it took to finish their drinks, he conceptualized an algorithm that would go on to power GPS navigation, network routing, supply chains, and robotics. That programmer was Edsger W. Dijkstra, and he literally changed the world in the time it takes to have a quick coffee break.</p>
<p>We just published a new video on the freeCodeCamp.org YouTube channel that dives deep into Dijkstra's Algorithm. In this comprehensive guide, you will learn the fascinating history behind its creation and exactly how it works under the hood. Estafania created this video.</p>
<p>The course begins with the incredible origin story of the algorithm. Dijkstra famously designed the entire solution completely in his head without using a pencil or paper, a constraint that forced a brilliant simplicity into his ultimate design.</p>
<p>From there, you will explore how to translate the physical world of roads and cities into an abstract data structure. The video breaks down the core concepts of graphs, explaining how nodes represent locations, edges represent the paths between them, and weights represent distances or travel times.</p>
<p>Once the data structures are established, you will follow a step-by-step visual walkthrough to find the shortest path between a source node and a destination node. This section illustrates exactly why this approach is classified as a greedy algorithm, meaning it consistently selects the best possible option at each individual step.</p>
<p>Finally, you will put theory into practice with a complete Python implementation. You will learn how to represent a graph using an adjacency list and leverage a priority queue min-heap to efficiently track and visit nodes. By the end of the lesson, you will even build a backtracking function to recreate and print the exact optimal path.</p>
<p>You can watch the <a href="https://youtu.be/n1VUnHD62r0">full video on the YouTube channel</a> (22-minute watch).</p>
<div class="embed-wrapper"><iframe width="560" height="315" src="https://www.youtube.com/embed/n1VUnHD62r0" style="aspect-ratio: 16 / 9; width: 100%; height: auto;" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen="" loading="lazy"></iframe></div>
 ]]>
                </content:encoded>
            </item>
        
    </channel>
</rss>
