Capgemini Engineering interview question

bit manipulation linked list