If you wanted to traverse a tree, writing all the elements to a file, and then, the

Question:

If you wanted to traverse a tree, writing all the elements to a file, and then, the next time you ran the program, rebuild the tree by reading and inserting, would an inorder traversal be appropriate?

Why or why not?

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

C++ Plus Data Structures

ISBN: 9781284089189

6th Edition

Authors: Nell Dale, Chip Weems, Tim Richards

Question Posted: