Pregunta de entrevista de J.P. Morgan

Merge the intervals and Count binary strings