Bloomberg Interview Question

How do you flatten a two dimensional linked list?