couldn't understand the question :( On Apr 19, 1:32 pm, tech coder <techcoderonw...@gmail.com> wrote: > determine whether the given string is of form pZq. > p and q can contain only X and Y. > like if p=XXYX then z will be XYXX > for ex XXYXXXYXX is valid > > the limitation is that "you can read only the next character at each point" . > -- > > Regards > "The Coder"
-- 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.