Advertisement

Coding Mock Interview - Move All Zeros To End Of Array (with Google SWE)

Por Aced (formerly Exponent) 19:02 22,509 vistas en YouTube Ver en YouTube
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…
¿Listo para tu próximo paso?

Pon estos consejos en práctica: se agregan miles de empleos nuevos cada día.

Explorar empleos Recibir alertas de empleo

Este video se muestra con el reproductor de YouTube y pertenece a su creador, Aced (formerly Exponent).

Reportar este video