summaryrefslogtreecommitdiff
path: root/.settings/language.settings.xml
diff options
context:
space:
mode:
authorHaidong Ji2019-01-15 22:25:39 -0600
committerHaidong Ji2019-01-15 22:25:39 -0600
commit4f9bd7ae24acef1824134df9a62521185e3d1aa3 (patch)
treec67bb63edc7e31f15f32b60869ac024c4aa2261b /.settings/language.settings.xml
parent8fb3943122786e9ab13bf06cae6ad9ab70860fc4 (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 '.settings/language.settings.xml')
0 files changed, 0 insertions, 0 deletions