Hello,

Here is a sample of two unrooted trees. (Please find attachment)

Test case include parenthesis, letters (as leaves) and commas (,)
The task is representation an unrooted tree in a matrix.



We should write a program (c or java) to represent the the string-tree to a
matrix:
int[][] getMatrix(String tree);

Thanks a lot.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Code Jam" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


<<attachment: Untitled.jpg>>

Reply via email to