class BagNode

Defined in:

day_07/solution.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(bag_name : String) #

[View source]

Instance Method Detail

def all_possible_containers : Set(BagNode) #

[View source]
def bags_contained : Int32 #

[View source]
def can_be_contained_by(containing_bag : BagNode) #

[View source]
def should_contain(content_bag : BagNode, count : Int32) #

[View source]