MathWorks Interview Question

Linked lists and bit maipulation.