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.
In my opinion, it is not very sportsmanly to have skeleton code, which will never work - the return second query for sample input 3 should be 759000000000, which is too big to fit in the int32 return type in the signature
funcbalancedForest(c[]int32,edges[][]int32)int32{
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Balanced Forest
You are viewing a single comment's thread. Return to all comments →
In my opinion, it is not very sportsmanly to have skeleton code, which will never work - the return second query for sample input 3 should be 759000000000, which is too big to fit in the
int32
return type in the signature