3
$\begingroup$

I have 220 items to fill a list of lists with, where, the outer list consists of 45 inner lists.

Each of the 45 inner lists can have:

  1. Maximum of 10 items.
  2. Can be empty.

So, the list of lists can have up to a maximum of 450 items, but we only need to fill 220 spots and the rest will be empty.

  • The order of the items inside the inner list does not matter.
  • An item can only be used once throughout the all 45 lists.
  • The order of the inner lists matters. [[3,4], [1,2]] is not equal [[1,2], [3,4]]

E.g:

[[1,2],[9,7,55,66,77,99], [], [23,42,51,11], ...]

  • 0
    An item can only be used once per list, or once throughout all $45$ lists?2017-02-23
  • 0
    @KevinLong An item can only be used once thoughout all lists2017-02-23
  • 0
    Does the order of the inner lists matter? e.g. is $[[1, 2], [3, 4]]$ different from $[[3, 4], [1, 2]]$?2017-02-23
  • 0
    Does every item have to be used at all?2017-02-23
  • 0
    @MarcusStuhr Yes, [[1,2], [3,4]] is different from [[3,4],[1,2]]2017-02-23
  • 0
    @KevinLong Yes, all items must be used.2017-02-23
  • 0
    At least $_{220}C_{10}*_{210}C_{10}*_{200}C_{10}・・・$.2017-07-08

0 Answers 0