Virtu Financial Interview Question

Standard math and probability questions Angle between hands on a clock at 9:15AM

Interview Answer

Anonymous

Nov 10, 2020

def CalculateClockAngle(h, m): minutes_angle = m*(360/60) hours_angle = h*(360/12) + m*0.5 return abs(hours_angle - minutes_angle)

1