Pergunta de entrevista da empresa Moon Active

1. Implement a clock class with 3 action buttons and a mode button that switches between the button's actions. 2. Write a function that returns True if the sum of digits of a given binary number is odd. 3. Find the area code of a given number from a list of area codes.

Resposta da entrevista

Sigiloso

29 de nov. de 2020

Need to be as efficient as possible with multiple requests, so use a map .

1