employer cover photo
employer logo

Pergunta de entrevista da empresa Cypress Semiconductor

There is 1D Array. Every element is 8 bit wide and there are 9 elements. How would you set the 54th bit?

Resposta da entrevista

Sigiloso

3 de jul. de 2019

I answered it in terms of finding quotient and remainder and then using bitwise OR. After that, they asked how to optimize it.