package
0.0.0-20240918223611-8eb154260213
Repository: https://github.com/ralucas/advent-of-code.git
Documentation: pkg.go.dev
# Functions
"Adjacent" to a given seat means one of the eight positions immediately up, down, left, right, or diagonal from the seat.
CountSeats takes in a seat pattern and returns OccupiedSeat count, EmptySeat count.
No description provided by the author
Fill takes a seat pattern and in parallel fills the seats given the rules above returning a filled seat pattern.
No description provided by the author
GetSeatState checks adjacency of a seat given the i, j of the seat according to the rules above.
No description provided by the author
IsEqual compares 2 2D arrays to check for equality.
No description provided by the author
# Constants
No description provided by the author
No description provided by the author
No description provided by the author