Загрузка...

Day 31 | Graphs | Basics, BFS, DFS + Number of Islands (LC 200)

Today, we begin one of the most important topics in Data Structures — Graphs.

📌 What we’ll cover:
Graph basics (nodes, edges, directed vs undirected)
Graph representation using Adjacency Matrix
BFS (Breadth-First Search)
DFS (Depth-First Search)

📌 Problem Solved:
✅ LC 200 – Number of Islands
– Applying BFS/DFS on grids
– Understanding connected components
– Traversal logic in 2D matrices

💡 This session builds the foundation for advanced graph problems like topological sort, shortest path, and more.

Видео Day 31 | Graphs | Basics, BFS, DFS + Number of Islands (LC 200) канала GDGC DBIT
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять