2431. Maximize Total Tastiness of Purchased Fruits - Medium | DSA Corner | Talentd