We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
I don't quite understand how can we have a situation such that a single node forms a component, since G < B all for values, i.e. G in [1, N], and B in [N + 1, 2N]?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Components in a graph
You are viewing a single comment's thread. Return to all comments →
I don't quite understand how can we have a situation such that a single node forms a component, since G < B all for values, i.e. G in [1, N], and B in [N + 1, 2N]?