Search⌘ K
AI Features

Burst Balloons

Burst Balloons gives an array of balloon values. Remove every balloon in an order that maximizes coins earned from its current neighbors, treating positions beyond the ends as virtual balloons valued at one.

Statement

You are given ...