How many possible passwords can be there? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How many possible passwords can be there?

You ask your friend his wifi password; He says: 123456 Plot twist: Actually, the password is "244456". Examples: 2355556, 1244466666 How many possible passwords can be there?

9th Nov 2020, 2:37 PM
1971 • Anas
1971 • Anas - avatar
3 Answers
+ 13
Start learning permutation and combinations chapter.. you may get the answer. Thanks.
9th Nov 2020, 2:44 PM
Aditya
Aditya - avatar
+ 10
If you have a source set of numbers from 0 -> 9 you have 10 members in total. When you want to get subsets of 6 places from the members of the source set you will get 151200 different permutations. The more places your new subsets will hold, the more different subsets you will get. If you use 7 places instead of 6, the result will be 604800.
9th Nov 2020, 2:49 PM
Lothar
Lothar - avatar
+ 4
Please post programming relayed questions here. Don't post irrelevant questions. You can post it in activity feed. https://www.sololearn.com/discuss/1316935/?ref=app
9th Nov 2020, 2:42 PM
ツSampriya😘ツ
ツSampriya😘ツ - avatar