• For Individuals
  • For Businesses
  • For Universities
  • For Governments
Coursera
Log In
Join for Free
Coursera
Coursera Project Network
Determine Shortest Paths Between Routers Using Python
  • About
  • Outcomes
  • Project details
  • Testimonials
  • Recommendations
  1. Browse
  2. Data Science
  3. Data Analysis
Coursera Project Network

Determine Shortest Paths Between Routers Using Python

David Dalsveen

Instructor: David Dalsveen

Included with Coursera Plus

•Learn more
Guided Project
Learn, practice, and apply job-ready skills with expert guidance
4.6

(18 reviews)

Intermediate level

Recommended experience

Recommended experience

Intermediate level

Learners should be familiar with some Python; variables and input/output, and the basic data structures.

2 hours
Learn at your own pace
Hands-on learning
Learn more

Guided Project
Learn, practice, and apply job-ready skills with expert guidance
4.6

(18 reviews)

Intermediate level

Recommended experience

Recommended experience

Intermediate level

Learners should be familiar with some Python; variables and input/output, and the basic data structures.

2 hours
Learn at your own pace
Hands-on learning
Learn more
  • About
  • Outcomes
  • Project details
  • Testimonials
  • Recommendations

What you'll learn

  • Create an Adjacency List using a Python Dictionary where each entry is a List.

  • Add the Python function to find the shortest paths to each vertex from the source vertex.

  • Add the function to populate the adjacency list of edges from a file using a Python Dictionary container.

Skills you'll practice

  • Data Structures
  • Graph Theory
  • Network Routing
  • Computational Thinking
  • Program Development
  • Object Oriented Programming (OOP)
  • Computer Networking
  • Network Routers
  • Algorithms
  • File Systems
  • Computer Programming
  • Python Programming

Details to know

Shareable certificate

Add to your LinkedIn profile

Taught in English
No downloads or installation required

Only available on desktop

See how employees at top companies are mastering in-demand skills

Learn more about Coursera for Business
 logos of Petrobras, TATA, Danone, Capgemini, P&G and L'Oreal

Learn, practice, and apply job-ready skills in less than 2 hours

  • Receive training from industry experts
  • Gain hands-on experience solving real-world job tasks
  • Build confidence using the latest tools and technologies

About this Guided Project

By the end of this project you will use the adjacency list data structure and other data structures to find the shortest distance between a set of routers loaded from a file.

The shortest path problem is well known in the field of computer science. An adjacency list is probably the best data structure to represent a set of connected vertices to find the shortest path from one vertex to another. One application for shortest paths is in mapping. Another common application for its use is in computer networking routing to find the shortest trip for a packet. Note: This course works best for learners who are based in the North America region. We’re currently working on providing the same experience in other regions.

Learn step-by-step

In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:

  1. •

    Analyze the shortest distance problem and Create the Python Edge Class.

  2. •

    Create an Adjacency List using a Python Dictionary where each entry is a List.

  3. •

    Add a Python function to find minimum distance between the source vertex and the other vertices.

  4. •

    Add the Python function to find the shortest paths to each vertex from the source vertex.

  5. •

    Add the function to populate the adjacency list of edges from a file using a Python Dictionary container.

Recommended experience

Learners should be familiar with some Python; variables and input/output, and the basic data structures.

3 project images

Instructor

David Dalsveen
David Dalsveen
Coursera Project Network
24 Courses•137,830 learners

Offered by

Coursera Project Network

Offered by

Coursera Project Network

The Coursera Project Network is a select group of instructors who have demonstrated expertise in specific tools or skills through their industry experience or academic backgrounds in the topics of their projects. If you're interested in becoming a project instructor and creating Guided Projects to help millions of learners around the world, please apply today at teach.coursera.org.

How you'll learn

  • Skill-based, hands-on learning

    Practice new skills by completing job-related tasks.

  • Expert guidance

    Follow along with pre-recorded videos from experts using a unique side-by-side interface.

  • No downloads or installation required

    Access the tools and resources you need in a pre-configured cloud workspace.

  • Available only on desktop

    This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.

Why people choose Coursera for their career

Felipe M.
Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
Jennifer J.
Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
Larry W.
Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
Chaitanya A.
"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

You might also like

  • Status: Free Trial
    Free Trial
    S

    Stanford University

    Shortest Paths Revisited, NP-Complete Problems and What To Do About Them

    Course

  • C

    Coursera Project Network

    Process Map Data using C++ Adjacency List Shortest Path

    Guided Project

  • Status: Free Trial
    Free Trial
    S

    Stanford University

    Graph Search, Shortest Paths, and Data Structures

    Course

  • Status: Free Trial
    Free Trial
    I

    Infosec

    Advanced Python - Reconnaissance

    Course

Coursera Plus

Open new doors with Coursera Plus

Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription

Learn more

Advance your career with an online degree

Earn a degree from world-class universities - 100% online

Explore degrees

Join over 3,400 global companies that choose Coursera for Business

Upskill your employees to excel in the digital economy

Learn more

Frequently asked questions

By purchasing a Guided Project, you'll get everything you need to complete the Guided Project including access to a cloud desktop workspace through your web browser that contains the files and software you need to get started, plus step-by-step video instruction from a subject matter expert.

Because your workspace contains a cloud desktop that is sized for a laptop or desktop computer, Guided Projects are not available on your mobile device.

Guided Project instructors are subject matter experts who have experience in the skill, tool or domain of their project and are passionate about sharing their knowledge to impact millions of learners around the world.

You can download and keep any of your created files from the Guided Project. To do so, you can use the “File Browser” feature while you are accessing your cloud desktop.

Guided Projects are not eligible for refunds. See our full refund policyOpens in a new tab.

Financial aid is not available for Guided Projects.

Auditing is not available for Guided Projects.

At the top of the page, you can press on the experience level for this Guided Project to view any knowledge prerequisites. For every level of Guided Project, your instructor will walk you through step-by-step.

Yes, everything you need to complete your Guided Project will be available in a cloud desktop that is available in your browser.

You'll learn by doing through completing tasks in a split-screen environment directly in your browser. On the left side of the screen, you'll complete the task in your workspace. On the right side of the screen, you'll watch an instructor walk you through the project, step-by-step.

More questions

Visit the learner help center

Coursera Footer

Technical Skills

  • ChatGPT
  • Coding
  • Computer Science
  • Cybersecurity
  • DevOps
  • Ethical Hacking
  • Generative AI
  • Java Programming
  • Python
  • Web Development

Analytical Skills

  • Artificial Intelligence
  • Big Data
  • Business Analysis
  • Data Analytics
  • Data Science
  • Financial Modeling
  • Machine Learning
  • Microsoft Excel
  • Microsoft Power BI
  • SQL

Business Skills

  • Accounting
  • Digital Marketing
  • E-commerce
  • Finance
  • Google
  • Graphic Design
  • IBM
  • Marketing
  • Project Management
  • Social Media Marketing

Career Resources

  • Essential IT Certifications
  • High-Income Skills to Learn
  • How to Get a PMP Certification
  • How to Learn Artificial Intelligence
  • Popular Cybersecurity Certifications
  • Popular Data Analytics Certifications
  • What Does a Data Analyst Do?
  • Career Development Resources
  • Career Aptitude Test
  • Share your Coursera Learning Story

Coursera

  • About
  • What We Offer
  • Leadership
  • Careers
  • Catalog
  • Coursera Plus
  • Professional Certificates
  • MasterTrack® Certificates
  • Degrees
  • For Enterprise
  • For Government
  • For Campus
  • Become a Partner
  • Social Impact
  • Free Courses
  • ECTS Credit Recommendations

Community

  • Learners
  • Partners
  • Beta Testers
  • Blog
  • The Coursera Podcast
  • Tech Blog

More

  • Press
  • Investors
  • Terms
  • Privacy
  • Help
  • Accessibility
  • Contact
  • Articles
  • Directory
  • Affiliates
  • Modern Slavery Statement
  • Do Not Sell/Share
Learn Anywhere
Download on the App Store
Get it on Google Play
Logo of Certified B Corporation
© 2025 Coursera Inc. All rights reserved.
  • Coursera Facebook
  • Coursera Linkedin
  • Coursera Twitter
  • Coursera YouTube
  • Coursera Instagram
  • Coursera TikTok
Coursera

Welcome back

​
Your password is hidden
​

or

New to Coursera?


Having trouble logging in? Learner help center

This site is protected by reCAPTCHA Enterprise and the Google Privacy Policy and Terms of Service apply.