Tree: Preorder Traversal

  • + 3 comments

    Hey there. My comment says it's O(1) space complexity. The time complexity is not O(1)