Given two sorted lists a and b, find the median of their combined elements in O(log(min(m, n))) time, without merging them.
Unlock this and every premium problem across all tracks — plus hidden-test grading, advanced AI engineering modules and new content every week.
Start 7-day free trial