Pregunta de entrevista de SigTuple

HackerEarth questions were related to Sweep Line algorithm and Maximum sum rectangle