← All problemsSign in

Bowling Mood

Sridharan and Dhruv are in no mood to eat pastry today and have decided to go bowling with their friend Tushar at Icebox Arena. Dhruv, Sridharan and Tushar have been allotted $N$ bowls(each) in the Arena given as integer arrays $[X_1,X_2, ...X_N]$,$[Y_1,Y_2,...Y_N]$ and $[Z_1,Z_2,...Z_N]$ **respectively**, where $X_i$,$Y_i$,$Z_i$ refers to the size of $i$-th ball alloted to Dhruv, Sridharan and T

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