Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Monkey ¶
func NewMonkeyFromLines ¶
NewMonkeyFromLines takes line input to create a new Monkey , the structure looks like this example:
Starting items: 98, 97, 98, 55, 56, 72
Operation: new = old * 13 Test: divisible by 11 If true: throw to monkey 4 If false: throw to monkey 7
func (*Monkey) GetDivisor ¶
func (*Monkey) InspectItems ¶
InspectItems returns slice of Throw , indicating where to throw items.
Click to show internal directories.
Click to hide internal directories.