+ 3
Combination of "r" strings from "n" strings
I want anyone to answer a code for this question!!
12 Antworten
0
Answer for the above question
#java
https://code.sololearn.com/cS4oDAW4BUpJ/?ref=app
+ 16
I think he wants to print some substrings or subsequence from a word
//after an example it will be understood clearly
+ 14
what u mean by combn. of r String from n String ?
//provide an example
+ 11
(and a language)
+ 5
i think what he want to say is that we have a string of n characters and we can take only r from that n characters and show various combinations of these r characters.
+ 3
combine means selection different ways "r" names from" n" names
and I want a code from c or c++
from this piece of code we can achieve more things
+ 2
Please provide 2 examples, it is not clear what to do.
+ 2
Me neither, the maths are complex and the implementation is close to being trivial. I will learn about this when I need it.
+ 1
This doesn't explain it well to me again.
+ 1
@swim
your explanation is correct anyone can tell the combination
but
the main problem is to display those all different possible selection of products
+ 1
That's also easy. Hint: use a set if you may use every product just once.
0
ex:- we have 10 products in which we have to select 5 products.
output: the number of different ways of selection of those 5 products