Sweet Shops of Kolkata
CodeChefOpen on judge ↗
Park Street in Kolkata is famous for its mouth-watering sweets. There are a total of **N** shops in the market, which are extended over a single street with shops following one another. The shops are enumerated from **1** to **N**, from left to right. The market is unique in the sense that each shop sells only a single type of sweet. Additionally, no two shops sell the same type of sweet. For conv
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.
Sign in to chat with the tutor and save your progress.
Sign in to start