Azienda coinvolta
Find the longest subarray that equals K
Anonimo
I gave the naive approach which is O(n^2). But the interviewer gave prefix sum array and was expecting me to optimize the problem.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.