← All problemsSign in

COMPUTE IMAGE

A camera captures a crowd of people in a x-axis,total N people are captured as a a rectanglular image and can be represented by a row that informs start, end and height,where start is the starting position on x-axis, end is the ending position on x-axis and height is the height of the person. Since they are in a crowd the person may overlap as we see them from a position far away,we need to compre

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