0

Coad coach :Password Validation[Solved]

My code is not passing 2/13 testcases in Password validation .Where i did mistake .let me know

1/19/2020 1:43:22 PM

Hanmanth Pattem

10 Answers

New Answer

+2

aaa777### Try this

+1

Counts the number of num[j]

+1

Great thanks, Learned new thing..

+1

I deleted my answer to enable other people to decide for themselves. You too, delete the ready-made solution (from the contents of the question).

+1

It can be seen in the question. Remove the link to the code from the question.

+1

0

I have tried, showing as Weak. I thinks thats the problem.Why so??

0

What count(num[j]) will do???

0

I made my code as private ,Is it enough ?

0

Test these: Slsl2020 Slslslsl S2 ssssssss S2#ad Slsl2020ss .... You need to have between 5 and 10 characters, a DIGIT, an Uppercase, NO SPACES and NO SPECIAL CHARACTERS try not to forget any of these and for the test cases, try one error at a time to detect where is the problem for example slsl2020 tests only the uppercase, Slsl 2020 tests the space, Slslslsl tests the digit Slsl20# tests the special character Sl20 and Slsl2020ss test the number of characters. This logically helps you for any programming language you can use to solve the problem.