# breaking it down easy

Best Two-Scoop Combo

The ice cream shop's combo deal: any two flavors sitting NEXT TO EACH OTHER on the menu board. 🍦

You get the flavor scores in board order (at least two). Print the best total of two neighboring flavors.

Example:

Input: scores = [3, 8, 2, 9, 4] Output: 13

The neighboring pairs sum to 11, 10, 11, 13 — the best combo is 9 + 4 = 13.

💡 need a hint?

brk-two-scoop-combo.py🔒 given lines are locked — write your code in between
loading...