summaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorHaidong Ji2019-01-08 21:15:27 -0600
committerHaidong Ji2019-01-08 21:15:27 -0600
commitca7416db5fb06ab354903ebd57e94cf87797becd (patch)
treedbc1b8c12a42c14edbc3a391ced1b9cb37f99e9b /src/test
parent926b055030fcd6f8564138819c747b97bf664954 (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