Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
tzudan
· 2y ago · 0 comments
was thinking about the same related problem. sounds awfully similar to
https://leetcode.com/problems/burst-balloons/description/
Comments
[–]
pxx
2y ago
yeah, your linked problem is very similar but reward depends on both left and right neighbor, and a variant of my solution to the modified problem becomes cubic