find largest cube in lot of cuboids

203 Views Asked by At

sorry for my bad English... I've a system consists of many cuboids, many are adjacent to the others. My problem is... I want to find the largest cube in this system (which may consists of many of some or all part of the cuboids)

Is there a decent algorithm for finding this ?