Azienda coinvolta
Check whether an array has any subarray whose sum is 0
Anonimo
Coded with prefix sum approach by maintaining the prefix in a list and checking whether the sum is 0 or the list already contains the sum.
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.