vapporwashmade / javascript-projects

Programs and projects I did in Javascript
2 stars 2 forks source link

Fix the problems with password function assignment ... #10

Open kedarmhaswade opened 5 years ago

kedarmhaswade commented 5 years ago

Read the password function assignment again. It asks "How many such passwords are there?"

Do you think there is any other way of finding an answer for it? Remember, computer science is applied mathematics and as such many programming problems are mathematical in nature. This means that you can use (perhaps mathematical, or non programmatic) ways to determine the answer.

In short, if the length of the password is n and each character is one of the 70 allowed characters (a-zA-Z0-9 and 8 symbols: 26+26+10+8 = 70),

kedarmhaswade commented 5 years ago

You can do this program on a paper as a math problem :-).