Find the K-th element of two sorted Arrays

Given two sorted arrays of size m and n respectively, you are tasked with finding the element that would be at the k’th position of the final sorted array.(the time complexity should be O(log(m+n)