+ 2

Challenge:

If there are 'n' Senators in standing committee. find out in how many ways a standing committee can be formed. https://code.sololearn.com/cb9dA02YzVeU/?ref=app

24th Apr 2018, 10:45 AM
Uxair
Uxair - avatar
7 odpowiedzi
+ 2
I believe that the number of possible permutations of n objects is n! (n factorial)
24th Apr 2018, 7:32 PM
Uni
Uni - avatar
+ 1
Jan Markus you use predefined method right ?
24th Apr 2018, 6:38 PM
Uxair
Uxair - avatar
+ 1
Jan Markus yeah true but most of time almost 90% we don't know is there any method available for certain task ...
24th Apr 2018, 7:15 PM
Uxair
Uxair - avatar
+ 1
Jan Markus Yes indeed and I really like your approach but I mentioned that I "believe" that to find the total number of permutations of n one has to calculate n! (factorial)
24th Apr 2018, 7:44 PM
Uni
Uni - avatar
0
Uni alright first I didn't mention arrangement so it could possibly repeat and how it's n! ? permutations isn't equal to n!
24th Apr 2018, 7:37 PM
Uxair
Uxair - avatar
0
Jan Markus I have started java few days ago and it's even more hard to implement a predefined method I have learned basics of C++ it was really easy and straight forward..
24th Apr 2018, 7:39 PM
Uxair
Uxair - avatar
0
isn't 2^n formula ?
24th Apr 2018, 7:43 PM
Uxair
Uxair - avatar