Maximum component

Problem Name:
Maximum component
Site:HackerEarth
Links:
Tags:
Problem setters: