Перейти к содержимому

Course Schedule (LeetCode 207) | Interview Essential | BFS, Queue, Cycle in a directed graph

Nikhil Lohia

0:00 / 0:00

Course Schedule (LeetCode 207) | Interview Essential | BFS, Queue, Cycle in a directed graph

10 966 просмотров · 1 год назад
Nikhil Lohia
105 тыс. подписчиков
10 966 просмотров · 1 год назад
👉 👉 Invaluable problem navigator: https://topmate.io/nikoo28/1672249?ut... Join this channel to get access to perks:    / @nikoo28   Actual Problem: https://leetcode.com/problems/course-... Chapters: 00:00 - intro 00:38 - Problem Statement 02:09 - A valid case 03:48 - Invalid case 05:08 - Simplified problem 05:58 - Brute Force Approach (DFS) 07:53 - Optimized Method (BFS with Queue) 14:59 - Dry run of Code 16:54 - Final Thoughts 📚 Links to topics I talk about in the video: BFS Pattern:    • Coding Interview Patterns - Breadth First ...   Breadth First Search:    • Graph Data Structure | Part 6 | Breadth Fi...   📘 A text based explanation is available at: https://studyalgorithms.com Code on Github: https://github.com/nikoo28/java-solut... Test-cases on Github: https://github.com/nikoo28/java-solut... 🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg... 💻 Get Social 💻 Follow on Facebook at:   / studyalgos   Subscribe to RSS feeds: https://studyalgorithms.com/feed/ Join fan mail: http://eepurl.com/g9Dadv #leetcode #programming #interview