I am just loging the required output to console without doing any operations it shows correct

Hi @basic_dream_84

There are no hidden test cases for such easy problems. They are for the learning purpose, where you are expected to do exactly what is told in the problem statement.

As you progress further, you will find, a lot of problems with hidden test cases!!

1 Like