v2 Ventures interview question

How do you store an IP address in a 4-bit integer.

Interview Answer

Anonymous

11 Dec 2010

The correct answer involved some bit shifting. But I came up with a mathematical formula on their white board that just about pulled it off without bit shifting.