@StefanPochmann " return max(l, r) if -1 in l+r else [l, r] ". looks like this expression can return different type of output depending on condition it satisfies. like if -1 in l+r ( is l and r a list ? ), then it returns max(l,r) is that return a list of max integer ??.