Is the question Partition The Graph in Jan challenge div 1 correct?
Not able to understand sample, input how is 2 reachable from 4,5,6.
Thank you reporting it. Apologies, the sample was incorrect. We have made the correction and updated it in the contest.
The sample output is wrong