leetcode 1305. All Elements in Two Binary Search Trees
Giventwobinarysearchtreesroot1androot2.Returnalistcontainingalltheintegersfrombothtreessortedinascendingorder.Example1:Input:root1=[2,1,4],root2=[1,0,3]Output:[0,1,1,2,3,4]Example2:Input:root1=[0,-10,