Medium-02
CodeChefOpen on judge ↗
Problem Statement You are given a list of pairs. Each pair contains a food item and its price. For example, ((apple, 120), (banana, 200), (apple, 150)....) Specific food items may occur multiple times within the list of pairs, with potentially varying price. For each food item, output the lowest, highest and average price for the item. Input Test cases will be provided in the following multili
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