The second question is just something that might possibly pop up in an interview and you don't need to post the answer here. If you have tips for answering the question then post them.
So post your answer to question one in spoiler tags and have a good think about question two
Question 1 : Technical Question
Using bitwise (or bit shift) operators, can you optimise the following examples?
1. int a = b * 4; 2. int a = b * 72; 3. int a = (b + c) / 2; 4. int a = (b * 3) / 8; 5. int a = (b % 8) * 4;
Question 2 : General Interview Question
What's the best game of all time and why?
I look forward to seeing your answers
This post has been edited by stayscrisp: 11 February 2011 - 02:27 PM