Keep It Simple Stupid

Where Dreams Begin

Saturday, June 13, 2015

Uniform Iterative&Recursive solutions for tree traversal in in/pre/post order


https://github.com/tianlixu/leetcode/blob/master/94-binary-tree-inorder-traversal.cpp
https://github.com/tianlixu/leetcode/blob/master/145-binary-tree-preorder-traversal.cpp
https://github.com/tianlixu/leetcode/blob/master/146-binary-tree-postorder-traversal.cpp




Posted by Alex at 8:23:00 PM
Labels: Algorithm

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

Labels

Python (19) Java (13) Linux (10) C++ (9) Data (5) JavaScript (5) Programming (5) Algorithm (4) Git (4) Sed&Awk (4) Bigdata (3) Debug (3) Jetty (3) RCA (3) angularjs (3) iOS (3) pandas (3) Data Analytics (2) Database (2) Emacs (2) Hortonworks (2) MachineLearning (2) SAP BODS (2) SAP HANA (2) gdb (2) json (2) numpy (2) Ambari (1) Deep Learning (1) Design (1) Hadoop (1) JAX-RS (1) Jersey (1) Kafka (1) Kotlin (1) Regex (1) ai (1) k8s (1) sed (1) uml (1)

About Me

My photo
Alex
Toronto, Canada
View my complete profile

Blog Archive

  • ►  2020 (2)
    • ►  August (1)
    • ►  April (1)
  • ►  2019 (9)
    • ►  December (3)
    • ►  July (2)
    • ►  May (3)
    • ►  April (1)
  • ►  2018 (16)
    • ►  October (2)
    • ►  May (1)
    • ►  April (1)
    • ►  March (7)
    • ►  February (3)
    • ►  January (2)
  • ►  2017 (26)
    • ►  November (3)
    • ►  October (1)
    • ►  September (1)
    • ►  August (2)
    • ►  July (2)
    • ►  June (4)
    • ►  May (6)
    • ►  April (1)
    • ►  March (1)
    • ►  February (3)
    • ►  January (2)
  • ►  2016 (7)
    • ►  December (2)
    • ►  November (5)
  • ▼  2015 (12)
    • ▼  June (6)
      • Install GDB on MAC with Homebrew
      • Uniform Iterative&Recursive solutions for tree tra...
      • Calling another ctor in one ctor
      • Can I call a virtual function from ctor in C++?
      • No virtual ctor in C++
      • const data members in C++
    • ►  May (2)
    • ►  January (4)
  • ►  2014 (12)
    • ►  December (4)
    • ►  September (3)
    • ►  August (5)
  • ►  2008 (8)
    • ►  December (2)
    • ►  November (4)
    • ►  August (2)
  • ►  2006 (1)
    • ►  November (1)
Simple theme. Powered by Blogger.