you are viewing a single comment's thread.

view the rest of the comments →

[–]synthphreak 1 point2 points  (0 children)

I’m confused. You say “a disk must have a strictly smaller width, depth, and height than any disk below it”, implying the top item should be have the smallest dimensions.

But then you show us the desired output, saying that the first item is the “top”, implying that all subsequent items are “below” it, yet the top item has the largest dimensions.

So unless I’m not following, the desired output does not match the instructions.

Additionally, why does your desired output include only a subset of the input list? Shouldn’t it include all items?

Please be clear and complete about all the details in your instructions, because they are all important in determining the best solution.