So after reading the approach in the tutorial, i understood for every x cheaper ones, we need x+1 expensive spheres. I understand why but i am still confused about how to handle duplicates since they will cause problems! I need help to understand this!! Any help would be appreciated!! Thanks :D