I am not sure about a tree. But a greedy approach that creates the required
directories in increasing order of the number of  separators '/' in the
name, works.

On Sun, May 23, 2010 at 12:03 AM, Abdelrhman Abotaleb <
[email protected]> wrote:

> Is the answer of the first problem needs a general tree !?
> could any one provide me with a suitable splitting c++ code with a
> dilemeter
> thanks a lot
>
>
> --
> Regards,
> Abdelrhman.M. Abotaleb
>
> IEEE 2010 Student Chapter,
> AC Active member
> SPE 2009 Well Services Moderator
> cairo.spe.org
>
>
> Major: Electronics & Communications
> Minor: Computer Engineering
>
> --
> You received this message because you are subscribed to the Google Groups
> "google-codejam" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-code%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-code?hl=en.
>



-- 
Regards,
Bharath B

"When the going gets tough, the tough get going"

-- 
You received this message because you are subscribed to the Google Groups 
"google-codejam" 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 this group at 
http://groups.google.com/group/google-code?hl=en.

Reply via email to