+ 3

Combination of "r" strings from "n" strings

I want anyone to answer a code for this question!!

26th Feb 2018, 12:08 PM
Manjunath Angadi
Manjunath Angadi - avatar
12 Antworten
0
Answer for the above question #java https://code.sololearn.com/cS4oDAW4BUpJ/?ref=app
14th Mar 2018, 11:43 AM
Manjunath Angadi
Manjunath Angadi - avatar
+ 16
I think he wants to print some substrings or subsequence from a word //after an example it will be understood clearly
26th Feb 2018, 12:19 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 14
what u mean by combn. of r String from n String ? //provide an example
26th Feb 2018, 12:11 PM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 11
(and a language)
26th Feb 2018, 12:12 PM
jay
jay - avatar
+ 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.
26th Feb 2018, 12:16 PM
Akash Khobare
Akash Khobare - avatar
+ 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
26th Feb 2018, 1:24 PM
Manjunath Angadi
Manjunath Angadi - avatar
+ 2
Please provide 2 examples, it is not clear what to do.
27th Feb 2018, 5:58 AM
Timon Paßlick
+ 2
Me neither, the maths are complex and the implementation is close to being trivial. I will learn about this when I need it.
28th Feb 2018, 12:04 PM
Timon Paßlick
+ 1
This doesn't explain it well to me again.
28th Feb 2018, 9:48 AM
Timon Paßlick
+ 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
28th Feb 2018, 2:11 PM
Manjunath Angadi
Manjunath Angadi - avatar
+ 1
That's also easy. Hint: use a set if you may use every product just once.
28th Feb 2018, 2:32 PM
Timon Paßlick
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
28th Feb 2018, 9:34 AM
Manjunath Angadi
Manjunath Angadi - avatar