• Custom User Avatar

    no example tests with left overs... (the specs are very weird and unintuitive, btw...)

  • Custom User Avatar
    expected 'N, o, P' to equal 'N, P'
    

    That's another missing spec: Elements that can't be filled will be skipped instead of halting the entire packing process.

    This is, again, not specified anywhere, and only exists in the random tests. And this doesn't make much sense either (if you can't pack everything in a box, you can't pack everything in anyways so trying to pack more elements into the box is futile).

  • Custom User Avatar

    It is unspecified what happens if an upper case letter is encountered but the first available space do not have 2x2 space available, such as:

    box:
    ###
    ###
    ###
    
    string: abC
    

    When C is filled there is no space for it at the first available slot:

    ab#
    ###
    ###
    

    Similarly, string = AbcDefg gives

    AAb
    AAc
    ###
    

    at D, which again has no space for D but has space for efg.

  • Custom User Avatar
  • Custom User Avatar
    • Node 12 should be enabled (Refer this and this for more info)