• Below are the possible reasons of actual test cases are not getting passed:
    1. Your approach of writing the code or understanding the problem statement could be incorrect/different.
    2. Perhaps you have missed some edge cases or maybe you have a bug in your code.