You are viewing a single comment's thread. Return to all comments →
I think that the editorial's time complexity is not correct.
It is O(),not O().
Anybody who wants to see my submission, just get to my github link!
https://github.com/luceinaltis/Algorithms/blob/master/HackerRank_Subset_Component.cpp
Subset Component
You are viewing a single comment's thread. Return to all comments →
I think that the editorial's time complexity is not correct.
It is O(),not O().
Anybody who wants to see my submission, just get to my github link!
https://github.com/luceinaltis/Algorithms/blob/master/HackerRank_Subset_Component.cpp