NVIDIA interview question

* List enumeration problem * Tree traverse problem