Write the code to print combinations of a given array (n r were given) e.g
for abcde .r=3 ...print abc, bcd' cde etc
--
You received this message because you are subscribed to the Google Groups
Algorithm Geeks group.
To post to this group, send email to algoge...@googlegroups.com.
To
-string(s) of length 2 or more
which repeats itself(not necessarily twice, but 'n' number of times). In the
above example 'ab' has been highlighted with red in order to make it clear.
Another example:
i/p : fghjerhjfgjefgh
o/p: fg, je , hj, fgh
I hope its clear now.
Thanks
Ankit Mahendru