Pergunta de entrevista da empresa Microsoft

Suppose you have a 32 ports computer. Write a function the allocates a given port number and write a function that would deallocate a given port number. You are not allowed to use arrays or any data structure.

Resposta da entrevista

Sigiloso

29 de nov. de 2016

Bit manipulation

1