find k in two sorted array