Given a list of items, write a program that generates a list of lists of the following form:
[a,b,c,...,z] ⇒ [[z], [y,z], [x,y,z], ... ,[a,b, ... ,y,z]]
Hint: Slicing is your friend.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.