I'm working on a practice problem, and want to find the minimum disparity between the two lists using recursion.For example, if I have a list, X, with values [79, 85, 10], and a list, Y, with values [78, 80, 87, 12], the disparity will be 4.
I've tried iterating through both lists, and can't figure out how to just find the minimum sum of the disparity, rather than only returning the pairs.
I expect this function to return pairs of skiers and skis, but not the sum representing the minimum disparity between two given lists.