J.P. Morgan Interview Question

Merge the intervals and Count binary strings