Still 2 test cases not passing

s.add(arr[j]);

in line 22
if this resolves your doubt please mark it as resolved :slight_smile: