Skip to content
Merged
Prev Previous commit
Next Next commit
update
  • Loading branch information
BamaCharanChhandogi committed Oct 2, 2023
commit 96feb7711b0f766686817714decdedd8197b8d75
8 changes: 1 addition & 7 deletions data_structures/arrays/median_two_array.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
"""
This algorithm for finding the median of two sorted arrays would
typically be used in scenarios where you have two sorted sets
of data (arrays) and need to calculate the middle value or the average
of the middle values to get a representative central value. Common use cases
include statistical analysis and data processing in various fields
such as finance, engineering, and scientific research.
https://www.enjoyalgorithms.com/blog/median-of-two-sorted-arrays
"""


def find_median_sorted_arrays(nums1: list[int], nums2: list[int]) -> float:
"""
Find the median of two arrays.
Expand Down