The Question is if we are given a binary code how construct a tree using that code? There was a question as follows:

By root tree's 000101001111 code, reconstruct that tree.

and the complete answer: answer

The problem is i could not understand the answer. so could you please guide me or clear up the problem or introduce some refs. (because i could not find any)

Any help will be greatly appreciated.

  • 2
    $\begingroup$ Some context is missing here. There is no standard way to encode a tree using a binary string. Unless you tell us how to do that, we can't help you. $\endgroup$ – Yuval Filmus Oct 17 '19 at 20:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.