solve median of two sorted arrays and sum root to leaf numbers