*you have to check for the braces where they have been used..in comman brace
that means they are on same level..i am providing answer to your problem in
attached file..
check that out..

*Raghav garg



On Tue, Oct 4, 2011 at 1:53 PM, Dheeraj Sharma
<dheerajsharma1...@gmail.com>wrote:

> 1.How to construct a tree from the list representation
>      for ex.- construct tree from (A(B(E(K,L),F),D(H(M,I),J)))
> the tree would be binary
> the structure of the node would be
>
> struct node{
> int data;
> struct node *left,*right;
> };
>
> 2.Given a binary tree..give its list representaion..(reverse of above
> question)
>
> --
> *Dheeraj Sharma*
>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

<<attachment: solution.png>>

Reply via email to