← All tasks
Data Processing·MediumOURS

JSON Diet Data (Toptal round-4, redone)

The exact task type you faced at Toptal: read a JSON array of meals, then filter / group-by / top-N. Data in `daily-practice/day-01-json-diet/data/calories.json`. Code it in your Java starter (has Jackson). Timer ~40 min, no AI.

  1. Read and parse the JSON file.
  2. Find the meal with the highest protein consumed on 2022-11-01. Output: name.
  3. For each month, count users whose total calories > 30000. Output: "YYYY-MM: <count>".
  4. Find the 3 cheapest meals + their consumers. Output: "<name>, <price>, <user_id>".

Your notes