Pergunta de entrevista da empresa Microsoft

With two probes, determine the [clockwise/counterclockwise] direction that a plate with 2 different colors (split along a diameter) is spinning.

Resposta da entrevista

Sigiloso

3 de mar. de 2010

With a probe at the 12 o'clock position, and a probe at the 1 o'clock position. Get their colors, if they are different, then the (12 switches means counterclockwise, 1 switches means clockwise) if they are the same, then (12 switches clockwise, 1 switches counterclockwise).