Given two BSTs, return elements of both BSTs in sorted form.
- Time : O(n + m)
- Space : O(d)
c++
1 | class Solution |