diff options
author | Haidong Ji | 2019-01-15 22:25:39 -0600 |
---|---|---|
committer | Haidong Ji | 2019-01-15 22:25:39 -0600 |
commit | 4f9bd7ae24acef1824134df9a62521185e3d1aa3 (patch) | |
tree | c67bb63edc7e31f15f32b60869ac024c4aa2261b /.project | |
parent | 8fb3943122786e9ab13bf06cae6ad9ab70860fc4 (diff) |
Tree height done in C++!!!
Wow, this is so frustrating at times but in the end so much fun!!! My
real issue was creating and using a member function called getChildren,
which returns a node's children. It turned out if I accessed the
children member variable directly (since it's public), problem solved!
Another somewhat interesting observation is that using "vector<Node>" in
the main getHeight function seems slightly more efficient (memory wise)
than "vector<Node*>". I also used Visual Studio Community C++ 2017,
which was cool as well!
Diffstat (limited to '.project')
0 files changed, 0 insertions, 0 deletions