← All problemsSign in

MEGHANA MITACS SHOPPING

Problem description. Meghana has got selected for an analytics program under Mitacs and wants to go shopping. She has identified a mall where she can buy everything that she needs! The mall is organized as follows: - It has shops on either side with a park in between. We’ll refer to these lines of shops as a shopping lane. - The number and type of the shops on either side of the park are the sa

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