Merging bubbles

Problem Name:
Merging bubbles
Site:HackerEarth
Links:
Tags: