Programming puzzles: processing lists!
|
02-12-2019, 04:01 PM
(This post was last modified: 02-12-2019 04:10 PM by John Keith.)
Post: #266
|
|||
|
|||
RE: Programming puzzles: processing lists!
A couple of questions / suggestions for #44:
To make #44 more generally useful I would suggest making the value of a win start with 1 rather than the arbitrary value of 7. One can then add an offset to the result list if needed, in your case 6 ADD. For #44.1, should the streaks be only 1's or any non-zero value? In either case, the solution is very simple: Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)