Pergunta de entrevista da empresa Google

sorting an array of elements and combining by ids e.g [1:2], [1:3], [3,5],[2,4]

Resposta da entrevista

Sigiloso

12 de mar. de 2022

solution to example [1:5],[2,4],[3,5]

2