Pregunta de entrevista de ServiceNow

Ds mostly focused on heaps and sub array problems