News for hackers. Stuff that matters.
Re:"Here's a puzzle game. I call it Reverse the List of Inte... by sltkr on Friday April 12, 2024 @02:00PM (#40015784)
Should we assume the numbers are initially positive and distinct, too?
Re:"Here's a puzzle game. I call it Reverse the List of Inte... by Sebb767 on Friday April 12, 2024 @04:05PM (#40017077)
They must be, because otherwise you'd never be allowed to split or combine to create the final list.
Re:"Here's a puzzle game. I call it Reverse the List of Inte... by sltkr on Friday April 12, 2024 @05:42PM (#40017997)
Good point!
Re:"Here's a puzzle game. I call it Reverse the List of Inte... by keefle on Saturday April 13, 2024 @08:24AM (#40022690)
Technically there are cases in which you can. The repeated values will act like separators that you cannot act on (because once you act on one, as you said one cannot create the final list again), but then it becomes multiple instances of the puzzle which seems pointless