Wednesday, August 22, 2012

you have to print all possible combination of a given length let's say 'k' of a string in lexicographic order.


for Example:- input String=az k=2;
output
aa
az
za
zz..
 

No comments :