Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

PWC 391 Median Boxes

The first task asks us to combine sorted arrays and find the median, and the second asks us to combine boxes by stacking them inside each other. I feel the urge to merge.

  • Merge boxes by stacking them inside one another
  • Calculate median of combined sorted arrays
  • Median is middle element for odd total

More from Thursday 17 September →