Open Issues Need Help
View All on GitHub Uncategorized • Unknown
Bug in Java solution for "Median of Two Sorted Arrays" (LeetCode 4) — Incorrect Median Calculation 6 months ago
AI Summary: The current Java solution for LeetCode's "Median of Two Sorted Arrays" incorrectly calculates the median, particularly for even-length combined arrays. It also fails to meet the required logarithmic time complexity and doesn't handle edge cases like empty arrays. The task is to fix the implementation to correctly handle all array lengths and achieve O(log(min(m, n))) time complexity using binary search.
Complexity:
4/5
help wanted good first issue hacktoberfest