Meta Interview Question

Given a linked list, where each node's value can itself be a linked list (a recursive linked list), write a function that flattens it.