Sunday, June 19, 2011

Serialize a binary tree

compare different solutions both from space and time point of view.

1 comment:

  1. if needs to create exact binary tree,needs two traversals (inorder must)
    inorder-preorder,inorder-postorder,inorder-level order


    else
    preorder would suffice

    Please correct me if I am missing something

    ReplyDelete