Programming puzzles: processing lists!
|
04-21-2017, 12:13 PM
Post: #15
|
|||
|
|||
RE: Programming puzzles: processing lists!
#13 is not clear to me -- what is meant by:
"verify that the list is made up by two identical (also the order) sublists. Return the number of sublists if valid, "invalid" otherwise" If the sublists are identical then wouldn't the original list simply be generated by a single sublist? What is the significance of having two identical sublists? Also, should the program always return the largest proper sublist that generates the original list? { 1 2 1 2 1 2 1 2 } can be generated by { 1 2 } or by { 1 2 1 2 }; should the answer be 2 or 4? Graph 3D | QPI | SolveSys |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)