CME Group Interview Question

Traverse a nested linked list