Surprise Me!

Directed Unweighted Graph: Edge List Representation

2026-08-30 2 Dailymotion

Hello there. Let's talk about representing a directed, unweighted graph inside your machine using an edge list.<br /><br />We start with the vertices, then list every outgoing edge as a start-end pair. Direction matters now, so the order in each tuple is the start node first and the end node second.<br /><br />Then we upgrade the list: swap node values for indexes so you can jump to any vertex in constant time. Scanning edges is still linear in the number of edges, but you no longer scan the whole vertex list too.<br /><br />Next video: directed and weighted, same edge list idea.<br /><br />Subscribe if this helped. Leave a comment if something is unclear.<br /><br />00:00 Intro to directed unweighted edge lists<br />01:24 Adding directions to the graph<br />02:32 Graph as vertices plus edges<br />03:22 Building the vertex list<br />04:29 Starting the edge list<br />05:54 Why tuple order matters<br />06:53 Listing outgoing edges by node<br />09:32 Counting the edges<br />10:26 Linear-time scan problem<br />11:34 Index-based edge list<br />13:20 Constant-time vertex lookup<br />14:35 Recap and next video<br />15:06 Subscribe and wrap-up<br /><br />edge list, directed graph, unweighted graph, graph representation, adjacency, graph theory, data structures, vertices and edges, directed edges, graph tutorial, computer science, programming graphs, index optimization, constant time lookup, linear time edges<br /><br />=-=-=-=-=-=-=-=-=<br /><br />Thanks for watching!<br /><br />Find us on other social media here:<br />- https://www.NeuralLantern.com/social<br />- Twitter / X: https://x.com/NeuralLantern<br />- Rumble: https://rumble.com/c/c-3696939<br />- BitChute: https://www.bitchute.com/channel/pg1Pvv5dN4Gt<br />- Daily Motion: https://www.dailymotion.com/neurallantern<br />- Minds: https://www.minds.com/neurallantern/<br />- Odysee: https://odysee.com/@NeuralLantern:5<br /><br />Please show your support!<br /><br />- Buy me a coffee: https://ko-fi.com/neurallantern<br /><br />- Subscribe + Sharing on Social Media<br />- Leave a comment or suggestion<br />- Subscribe to the Blog: https://www.NeuralLantern.com<br />- Watch the main "pinned" video of this channel for offers and extras<br />

Buy Now on CodeCanyon