My output is correct but all test cases are not passing pls help

https://practice.geeksforgeeks.org/problems/union-of-two-arrays/0#

hello @yashratnani6
check now->