Pregunta de entrevista de Info Edge

Find first subarry whose sum equals k.

Respuesta de la entrevista

Anónimo

17 de ago de 2022

First told the brute force O(n^2) approach, then optimised to O(n) using sliding window approach