My Blog List

[Leetcode Solution] Binary Tree Preorder

Analysis

  • recursive solution is trivial, iterative one is required
  • Almost the same with previous post see here


Code