---
title: "Discussion on \"Understanding Graphs in JavaScript: Adjacency Matrix vs. Adjacency List\" | Hashnode"
description: "Discussion on \"Understanding Graphs in JavaScript: Adjacency Matrix vs. Adjacency List\". Introduction\nGraphs are one of the most fundamental data structures in computer science. They consist of nodes (also called vertices) connected by edges. Graphs are widely used in various real-world applications, such as social networks, navigation s..."
url: "https://hashnode.com/posts/understanding-graphs-in-javascript-adjacency-matrix-vs-adjacency-list/67b230b0913f202cabdc0955"
---

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

Discussion

# [Understanding Graphs in JavaScript: Adjacency Matrix vs. Adjacency List](https://imkarthikeyans.hashnode.dev/understanding-graphs-in-javascript-adjacency-matrix-vs-adjacency-list?utm_source=hashnode&utm_medium=feed)

Introduction Graphs are one of the most fundamental data structures in computer science. They consist of nodes (also called vertices) connected by edges. Graphs are widely used in various real-world applications, such as social networks, navigation s...

Feb 16, 2025 · 4 min read · imkarthikeyans.hashnode.dev  
Read the article

-   [#computer-science](https://hashnode.com/tag/computer-science)
-   [#datastructuresandalogrithm](https://hashnode.com/tag/datastructuresandalogrithm)
-   [#datastructure](https://hashnode.com/tag/datastructure)

## Written by

[Karthikeyan S](https://hashnode.com/@imkarthikeyans)

@imkarthikeyans · Bangalore , Karnataka

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

Frontend dev, problem solver, future GDE. 🔥

Writing code, breaking things, then pretending it was a feature. 🤡 | Senior Software Engineer | Dreaming of Big Tech, a GDE badge, and a Koenigsegg. 🚀

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
