Marvell Technology Interview Question

basic bit manipulation and algorithms