Swift has test case input ptoblem. Do try to work in swift


#1

class Solution {
func swapPairs(_ A: ListNode?) -> ListNode? {
return A;
}
}

is failing