Qm

What day of the week was 1 January 2000?

1 January 1900 was a Monday. Using only that fact and the rules for leap years, find the day of the week of 1 January 2000.

Then say why the same calculation from 1 January 2000 to 1 January 2100 gives a different shift.

Show a hint

Count the days between the two dates: 100 years of 365 days plus one day for each leap year. Then take the remainder when divided by 7.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Is your birthday on the same weekday next year?How often does a whole calendar repeat exactly?Which years share the 2026 calendar?Born on 29 February, how many birthdays by age 40?One hundred days after a MondayWhich month always starts on the same weekday as December?
All questions →