← All problemsSign in

find the row

Vaibhav got a job at supermarket as a manager. In order to keep track of the stock he stored the position of he rack in which the item is stored. after few months he realized that the rack with maximum number of distinct items has higher chances of selling quickly. in order to keep the stocks updated he now needs to find the rack in which he need to fill the stocks frequently, the higher the inde

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