diff options
author | Haidong Ji | 2019-01-08 21:15:27 -0600 |
---|---|---|
committer | Haidong Ji | 2019-01-08 21:15:27 -0600 |
commit | ca7416db5fb06ab354903ebd57e94cf87797becd (patch) | |
tree | dbc1b8c12a42c14edbc3a391ced1b9cb37f99e9b /src/test | |
parent | 926b055030fcd6f8564138819c747b97bf664954 (diff) |
Tree height non-recursive version done!
Yay!!! I got rid of the recursion and used an iterative function to calculate height. The trick used was to use a queue. It turned out to be faster and consumed less memory. Fun stuff and I'm happy :)
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions