Microsoft interview question

1-2 ptr problem 2-DP with bit mask