Programming puzzles: processing lists!
|
04-26-2017, 06:44 PM
Post: #49
|
|||
|
|||
RE: Programming puzzles: processing lists!
(04-26-2017 06:24 PM)pier4r Wrote: David your new #3, #6, #7, #8 looks like variant C solutions (use whatever you like, not only list operations), am I wrong? That wasn't my intent. I was actually trying to force myself to use list commands wherever I could. I consider SUB to be a list command in this context, since I am giving it a list and expecting one in return. I'm not exploding the list and doing anything with the elements. So to me, 3, 7, and 8 are all still variant A. I'm also not sure why you would classify #6 as anything but variant A; the main steps used are SORT, DOSUBS (x2), and ΣLIST. Is there something going on with it that doesn't fit the "A" classification? If I were to approach these as variant C, I would likely use sysRPL instead. ![]() It's your challenge, so you get to make the rules as you see fit. I'll happily agree to whatever classification you choose for them. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 4 Guest(s)