# Problem Definition

## Description

Find the median of two sorted arrays.

eg.

```plaintext
arr1 = [1, 3, 5]
arr2 = [2, 4, 6]

median(arr1, arr2) = 3.5
```

## Notes

1. [YT Video - Byte By Byte - Interview Question: Median of Arrays](https://www.youtube.com/watch?v=HGgdcKbC5ro)
2. [YT Video - Tushar Roy - Binary Search : Median of two sorted arrays of different sizes.](https://www.youtube.com/watch?v=LPFhl65R7ww)
3. [Geeks for Geeks - Median of two sorted arrays of same size](https://www.geeksforgeeks.org/median-of-two-sorted-arrays/)
4. [Geeks for Geeks - Median of two sorted arrays of different sizes](https://www.geeksforgeeks.org/median-of-two-sorted-arrays-of-different-sizes/)
5. [Geeks for Geeks - Median of two sorted arrays with different sizes in O(log(min(n, m)))](https://www.geeksforgeeks.org/median-two-sorted-arrays-different-sizes-ologminn-m/)
6. [LeetCode solution](https://leetcode.com/problems/median-of-two-sorted-arrays/solution/)
7. [GitHub - mission-peace](https://github.com/mission-peace/interview/blob/master/src/com/interview/binarysearch/MedianOfTwoSortedArrayOfDifferentLength.java)
8. [Byte by Byte - Median of Arrays](https://www.byte-by-byte.com/median/)
9. [LeetCode discussion - Share my O(log(min(m,n)) solution with explanation](<https://leetcode.com/problems/median-of-two-sorted-arrays/discuss/2481/Share-my-O(log(min(mn))-solution-with-explanation/2952>)
10. [LeetCode discussion - Share my O(log(min(m,n)) solution with explanation](<https://leetcode.com/problems/median-of-two-sorted-arrays/discuss/2481/Share-my-O(log(min(mn))-solution-with-explanation/246245>)