Microsoft Interview Question

Merging intervals question. Arrays, sorting.