- Популярные видео
- Авто
- Видео-блоги
- ДТП, аварии
- Для маленьких
- Еда, напитки
- Животные
- Закон и право
- Знаменитости
- Игры
- Искусство
- Комедии
- Красота, мода
- Кулинария, рецепты
- Люди
- Мото
- Музыка
- Мультфильмы
- Наука, технологии
- Новости
- Образование
- Политика
- Праздники
- Приколы
- Природа
- Происшествия
- Путешествия
- Развлечения
- Ржач
- Семья
- Сериалы
- Спорт
- Стиль жизни
- ТВ передачи
- Танцы
- Технологии
- Товары
- Ужасы
- Фильмы
- Шоу-бизнес
- Юмор
2. Grid BFS & String Path Reconstruction | BFS Foundations (CSES Labyrinth)
Transitioning from standard adjacency lists to 2D grids. In this lecture, we tackle CSES "Labyrinth" and implement Breadth-First Search directly on a matrix.
We cover the use of direction arrays (dx, dy) to cleanly traverse neighbors without hardcoding bounds, and advance our path reconstruction technique to backtrack and generate exact string sequences (L, R, U, D) for the optimal route.
🔗 Problem Link: https://cses.fi/problemset/task/1193/
👋 𝐖𝐞𝐥𝐜𝐨𝐦𝐞 𝐭𝐨 𝐭𝐡𝐞 𝐜𝐡𝐚𝐧𝐧𝐞𝐥!
I create content on Competitive Programming, Data Structures & Algorithms (DSA), and now Software Development with Go.
If you find this video helpful, don’t forget to:
👍 Like the video
💬 Comment your doubts/questions (I reply to everyone!)
🔔 Subscribe and turn on notifications to never miss upcoming tutorials
📌 𝐂𝐨𝐧𝐧𝐞𝐜𝐭 𝐰𝐢𝐭𝐡 𝐦𝐞:
🐦 X: https://x.com/Yash_Poonia_
💼 LinkedIn: https://www.linkedin.com/in/yashpoonia/
💻 GitHub: https://github.com/yash7xm/
🌐 Discord: https://discord.gg/dAp2PbKFpV
#BFS #CompetitiveProgramming #GraphTheory #CSES #Cplusplus #Algorithms #SoftwareEngineering #TechInterviews
Видео 2. Grid BFS & String Path Reconstruction | BFS Foundations (CSES Labyrinth) канала Yash Poonia
We cover the use of direction arrays (dx, dy) to cleanly traverse neighbors without hardcoding bounds, and advance our path reconstruction technique to backtrack and generate exact string sequences (L, R, U, D) for the optimal route.
🔗 Problem Link: https://cses.fi/problemset/task/1193/
👋 𝐖𝐞𝐥𝐜𝐨𝐦𝐞 𝐭𝐨 𝐭𝐡𝐞 𝐜𝐡𝐚𝐧𝐧𝐞𝐥!
I create content on Competitive Programming, Data Structures & Algorithms (DSA), and now Software Development with Go.
If you find this video helpful, don’t forget to:
👍 Like the video
💬 Comment your doubts/questions (I reply to everyone!)
🔔 Subscribe and turn on notifications to never miss upcoming tutorials
📌 𝐂𝐨𝐧𝐧𝐞𝐜𝐭 𝐰𝐢𝐭𝐡 𝐦𝐞:
🐦 X: https://x.com/Yash_Poonia_
💼 LinkedIn: https://www.linkedin.com/in/yashpoonia/
💻 GitHub: https://github.com/yash7xm/
🌐 Discord: https://discord.gg/dAp2PbKFpV
#BFS #CompetitiveProgramming #GraphTheory #CSES #Cplusplus #Algorithms #SoftwareEngineering #TechInterviews
Видео 2. Grid BFS & String Path Reconstruction | BFS Foundations (CSES Labyrinth) канала Yash Poonia
yash poonia CSES Labyrinth 2D Grid BFS Breadth First Search Direction Arrays Path Reconstruction Graph Algorithms Competitive Programming CSES Problem Set Data Structures and Algorithms C++ DSA Matrix Traversal Tech Interview Prep bfs dfs graph traversal tree traversal tree and graph graph and tree graph leetcode tree dsa graph dsa codeforces leetcode interview prep
Комментарии отсутствуют
Информация о видео
13 мая 2026 г. 0:55:38
00:21:21
Другие видео канала





















