How often do the hands form a straight line?
The hour and minute hands of a clock lie along a single straight line whenever they overlap (angle 0) or point in exactly opposite directions (angle 180).
How many such moments are there in 24 hours?
Show a hint
Handle the two cases separately, and remember that the minute hand gains 11 laps on the hour hand every 12 hours.
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
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- Interview experiences are welcome. Respect your NDAs.
Loading discussion…
Learn the concepts
The theory behind this question.
Related questions
How often are the clock hands exactly opposite?The angle between the hands at 3:15The angle between the hands at 7:20How many times do the hands overlap in a working day?The first right angle after two o'clock
All questions →