← All problemsSign in

APTZ_SALAD_CHALLENGE

Chef has a small bag, full of balls. As per the request of junior chef,chef throws all the balls in the bag at a time from 2nd floor to ground floor. Every ball will bounce according to its bouncing capacity t. Before balls contact to the floor they collide with each other. A single ball may also involve in multiple collision. Two balls collide if the combined capacity, which is their product of

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