Issue on 589. N-ary Tree Preorder Traversal

The code passed in Test Cases failed during the submission process, and the outputs are different. I have attached the screenshot down below. Could anyone tell me what is going on?

image

Comments (1)