Cousins in Binary Tree -Wrong Test Case in May Challenge

Hi,
My solution for today's problem is failing for this input: [1,null,2,3,5,4,null,null,null,null,6].
This looks like an invalid binary tree as 3,5 have to be child nodes of null in this case. Is there something I am missing here?

Comments (1)