Bloomberg interview question

basic behavior questions. A linked list with next node and down node, the down node has higher priority, convert it to a normal list.