Test cases failed


check the code i’m getting all test cases failed

you have not sort the arrays

you also need to sort both the arrays before calculating ans1 and ans2