Tag: modular-arithmetic
Interview Questions
- Ten prisoners and hats of ten colors
- Chameleons changing colors
- A run of days that nets a multiple of n
- Every year has a Friday the 13th
- The fast watch that is right again in 15 days
- Why January 1 and December 31 share a weekday
- Everyone guesses their hat at once
- The race to 100 by adding 1 through 10
- Count day-ranges whose PnL is divisible by m
- What day is it 1000 days from Wednesday?
- What day was it 45 days ago?
- What day is 250 days from Friday?
- Which weekday does the 40th run land on?
- What day is it 100 days from Tuesday?