Intel Corporation interview question

* Write a spin lock * Bit manipulation questions