
Algorithmic screening for Meta VR/AR teams covering Oculus data streaming and geometric optimization.
Oculus: Given an array frame_sizes and an integer bandwidth_limit, split the array into the fewest contiguous segments so that the sum of each segment ≤ bandwidth_limit. Return that minimum number. Circle: Given n circles on a 1-D line represented by [center, radius], return the minimum number of horizontal arrows needed so that every arrow shot at position p bursts all circles satisfying center-radius ≤ p ≤ center+radius.
Both can be solved with greedy + sorting; think about keeping running sums or end-points.