How would you determine the angle between a clock's hour and minute hands based on a given time?

Frontend Engineer

Accenture

Booking.com

Cognizant

Evernote

Tech Mahindra

Indeed.com

  • Calculate the angle between the hour hand and minute hand of a clock given the current time.
  • Can you write a function to compute the angle formed by the hour and minute hands of a clock at a specified time?
  • Demonstrate how to compute the angle between the hour and minute hands of a clock, using the current time.
  • How do you plan to calculate the angle formed by a clock's hour and minute hands at a given time?
  • How would you determine the angle between a clock's hour and minute hands based on a given time?
  • In what manner would you determine the angle between the hour and minute hands of a clock at a specific time?
  • In what way would you calculate the angle between the hour and minute hands of a clock, given a specific time?
  • Please explain how to assess the angle between the hour and minute hands of a clock, based on the current time.
  • Show how to find the angle formed by the hour and minute hands of a clock, given a certain time.
  • What's your method for finding the angle between the hour and minute hands on a clock at a certain time?

Interview question asked to Frontend Engineers interviewing at Kraken, Evernote, Crytek and others: How would you determine the angle between a clock's hour and minute hands based on a given time?.