Help me solve the following qn. Please provide a intuitive easy to understand step by step solution:

Given two sorted arrays nums1 and nums2 of size m and n respectively, return the median of the two sorted arrays.