• + 0 comments

    That’s a really smart and efficient approach! 👏 Just like designing a steel building , where every beam and joint must balance strength and structure, your solution balances logic and efficiency perfectly. Using the longest decreasing subsequence to determine minimum candies per student is a clever observation — strong, stable, and well-built from the ground up!