Is there a way for us to see the hidden test cases? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Is there a way for us to see the hidden test cases?

I tried to do some code challenges in community tab of this app after I finished the basic java course here. I found a problem about password, it's difficulty is hard and it's language is java. The problem set a condition that my code should be met, it says that I needed to create a code that can check if the entered password is strong or weak base on the conditions(it must contain 7 or more characters, it must have atleast 2 numbers, it must have 2 special characters). I attempt to do it and my code passes the 12 test cases except the 8th case which is hidden. I am curious and I wanted to know what did I do wrong, um do you have any suggestion regarding this? Thank you!

9th Feb 2023, 6:14 AM
Greg Andrei Bolivar
Greg Andrei Bolivar - avatar
4 Answers
+ 2
Greg Andrei Bolivar Hello@World19 says strong & should not.
9th Feb 2023, 7:08 AM
Scott D
Scott D - avatar
0
Um okay, can you please just copy the code here on this link? https://pastebin.com/watDAmFB I can't directly paste the full copy of the code. Thanks!
9th Feb 2023, 6:28 AM
Greg Andrei Bolivar
Greg Andrei Bolivar - avatar
9th Feb 2023, 6:44 AM
Greg Andrei Bolivar
Greg Andrei Bolivar - avatar
0
Ohh I see, so that's why. Thanks alot for your help!😊
9th Feb 2023, 7:16 AM
Greg Andrei Bolivar
Greg Andrei Bolivar - avatar