Find the median of two sorted lists.
Given two individually sorted integer lists, return the median of all values while targeting O(log(min(m, n))) time and O(1) extra space. If the combined length is even, return the average of the two middle values; otherwise, return the middle value.
def median_two_sorted_lists(nums1, nums2):