We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dado un array nums, mover todos los 0s de nums hacia la derecha, manteniendo el orden relativo de los elementos de nums.
array
nums
0
Ejemplo 1:
Input: nums = [0,1,0,3,12] Output: [1,3,12,0,0]
Ejemplo 2:
Input: nums = [0] Output: [0]
Preguntas de seguimiento:
O(1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Dado un
array
nums
, mover todos los0
s denums
hacia la derecha, manteniendo el orden relativo de los elementos denums
.Ejemplo 1:
Ejemplo 2:
Preguntas de seguimiento:
O(1)
en memoria?The text was updated successfully, but these errors were encountered: