← All problemsSign in

Candy Rush

Raj loves candies. At the first chance he got he built a candy factory. It made 26 different types of candies. As it was Diwali he decided to have a surprise combo offer. The candies will be packed in such a way that each packet will contain exactly two different types of candies, but quantity of each type will depend on the following condition-> when a batch is prepared,the different candie

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start