<< July 25, 2004 | Home | July 27, 2004 >>

It's Really Quiet Here

OCI is expanding!

We (Kevin, Jonathan and me) moved to the brand new cubicles in the expanded OCI office space this afternoon.

It's really quiet here. We can hear the sound of our keyboard clicking, and the sound of our hard drive spinning.

It's great!

Tags :

Test-First This!

Cedric Beust posted a few tricky interview questions in FUN WITH BITS

There are three categories of bit-shifting questions that I usually pick from, in increasing order of difficulty:

  1. How can you determine if a number is a power of two?
  2. How can you clear the rightmost bit?
  3. How can you count the number of 1 bits?

Answers were given in the blog. However they were derived at logically. In this day and age of the test-first hype, I would like to challenge its adherents to solve the problems in a test-first fashion.

Any takers?