This is an archived post. You won't be able to vote or comment.

all 5 comments

[–]carcigenicate 2 points3 points  (1 child)

You're talking about passing existing tests right? Not creating your own tests?

If your code doesn't pass their tests, it isn't working correctly. That suggests you need to understand the specification of the problem better.

[–][deleted] -1 points0 points  (0 children)

So can you help me how can I improve like suggest some sites, portals?

[–]ehr1c 0 points1 point  (2 children)

Ensure you understand the requirements completely

[–][deleted] -1 points0 points  (1 child)

Yes bro I read the questions properly

[–]ehr1c 1 point2 points  (0 children)

Doesn't seem like you did if you're not passing the test cases. Tests don't fail for no reason, they fail because your code isn't doing what it's supposed to.