IBM Interview Question

there is a 2d linkedlist, like up and down pointer, write the code on paper with class.