NVIDIA interview question

one coding questions on binary trees, and another one on strings.