Skip to content
Avio Lines
← Graphs lineD17Stop 126 of 145

Maximize the Number of Target Nodes After Connecting Trees II (LeetCode 3373)

HardLeetCode 3373 · BFS · Google, jio · 48:20Maximize the Number of Target Nodes After Connecting Trees II · Full Dry Run · Leetcode 3373
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

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 3373 Maximize the Number of Target Nodes After Connecting Trees II by codestorywithMIK: Graphs, Hard. Topics: Tree, Depth-First Search, Breadth-First Search. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
hard
Topics
Tree, Depth-First Search, Breadth-First Search
Patterns
BFS, DFS
Asked at
Googlejio
Chapter
Graphs
Duration
48:20