Snapmint Interview Question

DSA - merge intervals, lld design