LeetCode: Binary Tree Inorder Traversal

Approach 1: use a stack and a visited node set