MCPcopy Create free account
hub / github.com/careercup/ctci / Box

Class Box

python/Chapter 9/Question9_10/tallest_stack.py:46–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44
45_BoxTuple = collections.namedtuple('_BoxTuple', "width height depth")
46class Box(_Box, _BoxTuple):
47 pass
48
49class Stack(frozenset):
50 """ An immutable (and hashable) set of Boxes. """

Callers 1

test_find_tallestMethod · 0.70

Calls

no outgoing calls

Tested by 1

test_find_tallestMethod · 0.56