Expand description
§Secret Entrance
Computes both parts together. Part two left (or negative) turns are easier to handle
if we first “reverse” the dial, then treat it as a right turn. The rem_euclid method
is a modulo operator that handles negative values. For example -1.rem_euclid(100) is 99.
Functions§
Type Aliases§
- Input 🔒