find smallest area that contains all the rectangles

后端 未结 3 677
梦如初夏
梦如初夏 2020-12-16 19:37

This is an interview question.
We are given dimensions of various rectangles, we have to find out the area(minimum) of rectangle that can enclose all of them? rectangles

3条回答
  •  执笔经年
    2020-12-16 19:51

    There is no absolute solution to this problem, but there are several approximate solutions, you can read about some of them here.

提交回复
热议问题