MCPcopy Create free account
hub / github.com/OpenGenus/cosmos / maxHeight

Function maxHeight

code/dynamic_programming/src/box_stacking/box_stacking.cpp:50–76  ·  view source on GitHub ↗

* Return the maximum height that can be * obtained by stacking the available boxes. * Time complexity: O(n^2), n = size of boxes */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls 8

push_backMethod · 0.80
rbeginMethod · 0.80
rendMethod · 0.80
fitOnMethod · 0.80
BoxClass · 0.70
sortFunction · 0.50
maxFunction · 0.50
sizeMethod · 0.45

Tested by

no test coverage detected