Click here to see the full article post
The size of the input 2D-array will be between 3 and 1000.
Every integer represented in the 2D-array will be between 1 and N, where N is the size of the input array.
MAX_EDGE_VAL should be
@jwgoh Thank you, it has been corrected.
We choose the leader that has a lower following to pick up a new follower.
Other way around right? The root of the shorter tree is attached to the root of the bigger tree
@dylan20 Corrected, thanks.
Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.