Question d’entretien chez Info Edge

Find first subarry whose sum equals k.

Réponse à la question d'entretien

Utilisateur anonyme

17 août 2022

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