← Questions

Angle between clock hands

0
AmazonScale AICodingLast asked Aug 2026

A coding interview question asked in Amazon's technical phone screen and at Scale AI, last asked Aug 2026. It tests math.

Given a time on an analog clock as an hour and a minute, return the smaller of the two angles between the hour hand and the minute hand, in degrees. The hour hand moves continuously: it advances half a degree every minute.

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

  • Amazon · Technical phone screen · Last asked Aug 202660 min · Live coding in a shared editor that does not run code, plus Leadership Principles questions · No AI
  • Scale AI · Coding · Last asked Dec 2025Live coding, one or two rounds, Python

What it tests

math

Your code and the AI tutor open when you unlock this question.