Ittiam Systems Interview Question

Bit manipulation, DS, Threading, logic