4 ms·
FWIW, Google generally expect engineers to know bit manipulation. Certainly I was asked some, I don't know if everyone necessarily is but I wouldn't be surprise
by archangel_one 14y ago
FWIW, Google generally expect engineers to know bit manipulation. Certainly I was asked some, I don't know if everyone necessarily is but I wouldn't be surprised if they were.
- alasdair_young 14y agoI wasn't out and out asked, but it certainly came up when trying to optimize a solution. NOTE: if you are a Java developer, make sure you remember that bytes are signed! (I have no idea who thought that one was a good idea)
- yzhengyu 14y agoI can't remember it, but there was an interview where Gosling said it was for simplicity. And rather amusingly (and if I remember correctly...) the char data type in Java is not really the equivalent of char in the other C derivatives.
- tedunangst 14y agoJava char is c wchar. Java also has byte.