Only testcase 4 is passed

here is my code:

@myself.yash.srivastav your approach is not right there is video in our section in which bhaiya cover the implementation