Coding Mock Interview - Move All Zeros To End Of Array (with Google SWE)
Ace your software engineering interviews with our complete course: https://bit.ly/3wTag6U
A Google software engineer moves all zeros in an integer array to the end while maintaining the relative order of non-zero elements.
0:00 - Intro
0:42 - Move zeros in integer array
1:54 - Automated sorting of arrays with zeros, stable ordering
5:38 - Moving zeros and nonzeros in arrays
9:38 - Function Move zeros, fill index, iterate over data
11:11 - Fill index with zeros at end
12:11 - Test cases for arrays with zeros
13:10 - Example iterate over data, modify accordingly
15:39 - Perfect interview, good challenges, improvement
18:30 - Clarifying questions smart choice
Related videos:
Top 10 Behavior…
A Google software engineer moves all zeros in an integer array to the end while maintaining the relative order of non-zero elements.
0:00 - Intro
0:42 - Move zeros in integer array
1:54 - Automated sorting of arrays with zeros, stable ordering
5:38 - Moving zeros and nonzeros in arrays
9:38 - Function Move zeros, fill index, iterate over data
11:11 - Fill index with zeros at end
12:11 - Test cases for arrays with zeros
13:10 - Example iterate over data, modify accordingly
15:39 - Perfect interview, good challenges, improvement
18:30 - Clarifying questions smart choice
Related videos:
Top 10 Behavior…
Prêt pour la prochaine étape?
Mettez ces conseils en pratique — des milliers de nouveaux emplois sont ajoutés chaque jour.
Parcourir les emplois Recevoir des alertes emploiEn savoir plus sur ce sujet
Cette vidéo est présentée avec le lecteur de YouTube et appartient à son créateur, Aced (formerly Exponent).