In the editorial solution it says
Time complexity : . A total of nodes need to be traversed. Here, represents the minimum number of nodes from the two given trees.
shouldn't it be the maximum number of nodes from the two given trees? since if one of the nodes is null, then the new node will just get the non-null node's value?