← All problemsSign in

Graduation Picture

Jeff runs a cooking class open for all ages. The class has 26 students named [a-z]. On the day of the graduation ceremony Jeff wants to click the class photograph of the different groups that were formed. The problem is that the camera requires the exact area of the picture entered into it before clicking. Every person [a-z] has different height(in units) and same width ie 1. Can you tell Jeff the

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