Count the Number of Houses at a Certain Distance I (LeetCode 3015)
MediumLeetCode 3015 · BFS · Oracle · 31:52Count the Number of Houses at a Certain Distance I · Why Graph · Leetcode 3015 · Weekly ContestMy notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution for LeetCode 3015 Count the Number of Houses at a Certain Distance I by codestorywithMIK: Graphs, Medium. Topics: Breadth-First Search, Graph Theory, Prefix Sum. Watch the explanation, then check the code and solve it on LeetCode.
Related problems
- Number of Provinces - (Google, Microsoft,Amazon) (LeetCode 547)
- Course Schedule (LeetCode 207)
- Course Schedule-II (LeetCode 210)
- Is Graph Bipartite ? (LeetCode 785)
- Shortest Path in Weighted undirected graph
- Shortest Path in Binary Matrix (LeetCode 1091)
- Diameter Of Undirected Graph (LeetCode 1245)
- Find Minimum Diameter After Merging Two Trees (LeetCode 3203)