Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
advent-of-code-20
main
Top Level Namespace
AdventOfCode
BitMasks
BoardingPass
Console
Ferry
Seat
Haversack
Contains
Instruction
MemoryGame
Navigation
Position
Passport
Result
Shuttle
Tickets
Rule
Ticket
TobogganMap
XMAS
Generated using Crystal 1.14.0
2024-11-26 07:33:59 UTC
class
AdventOfCode::
XMAS(T)
AdventOfCode::XMAS(T)
Reference
Object
Defined in:
crystal/09.cr
Constructors
.new
(data : Array(T))
Instance Method Summary
#encryption_weakness
(index, invalid_number : T)
#first_invalid
(preamble =
25
)
Constructor Detail
def self.
new
(data : Array(T))
#
[
View source
]
Instance Method Detail
def
encryption_weakness
(index, invalid_number : T)
#
[
View source
]
def
first_invalid
(preamble =
25
)
#
[
View source
]