News for hackers. Stuff that matters.
Re:"Here's a puzzle game. I call it Reverse the List of Inte... by self on Friday April 12, 2024 @02:59AM (#40010067)
Start with a list of positive integers, (e.g. [7, 5, 3]) and your goal is to make the same list, in reverse ([3, 5, 7]).

Operations:

1) Split an integer into two smaller integers. (e.g. [7, 5, 3] → [6, 1, 5, 3]) 2) Combine (add) two integers into a larger one. (e.g. reverse the last e.g.)

Restrictions:

1) You can never make an integer greater than the largest integer in the original list. 2) You can never make a move that results in the same integer appearing in the list more than once.

Re:"Here's a puzzle game. I call it Reverse the List of Inte... by Onavo on Friday April 12, 2024 @03:32AM (#40010236)
Oh no, 2 dimensional dynamic programming? I have seen similar questions in competitive programming.
Re:"Here's a puzzle game. I call it Reverse the List of Inte... by jojojaf on Friday April 12, 2024 @04:44PM (#40017448)
Can you only add adjacent integers?