---
title: "Discussion on \"Lets Code Everyday - Day 23\" | Hashnode"
description: "Discussion on \"Lets Code Everyday - Day 23\". Question - 23:\nMove Zeroes\nGiven an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.\nExample 1:\nInput: nums = [0,1,0,3,12]\nOutput: [1,3,12,0,0]\n\nExample 2:\nInput: nums = [0]\nOutput: [0]\n..."
url: "https://hashnode.com/posts/lets-code-everyday-day-23/6448287c84bb41d88977fc7c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Lets Code Everyday - Day 23](https://vinayrangaraju.hashnode.dev/lets-code-everyday-day-23?utm_source=hashnode&utm_medium=feed)

Question - 23: Move Zeroes Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements. Example 1: Input: nums = \[0,1,0,3,12\] Output: \[1,3,12,0,0\] Example 2: Input: nums = \[0\] Output: \[0\] ...

Apr 25, 2023 · 3 min read · vinayrangaraju.hashnode.dev  
Read the article

-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#programming](https://hashnode.com/tag/programming)

## Written by

[Vinay Rangaraju](https://hashnode.com/@vinayrangaraju)

@vinayrangaraju

  
[View profile](https://hashnode.com/@vinayrangaraju)

Learn--->Share--->Learn

## Responses 2

Markdown supported · ⌘↵ to post

[Fanny Nyayic](https://hashnode.com/@nyayicfanny)

[Apr 26, 2023](https://hashnode.com/posts/lets-code-everyday-day-23/6448287c84bb41d88977fc7c/comment/64495c3beb9d787912a164a5)

Wow! this is amazing! keep going

[Vinay Rangaraju](https://hashnode.com/@vinayrangaraju)

[Apr 27, 2023](https://hashnode.com/posts/lets-code-everyday-day-23/6448287c84bb41d88977fc7c/comment/64495c3beb9d787912a164a5#reply-644a032e2fd18b7ff3f80ccf)

Thank you Fanny Nyayic 😊

[Vikas Rai](https://hashnode.com/@raivikas200)

[Apr 26, 2023](https://hashnode.com/posts/lets-code-everyday-day-23/6448287c84bb41d88977fc7c/comment/64490ea542babd75059a4132)

Hey, this is awesome, I will follow this as well, i will start it today from your day one article.

Keep up the good work!!

[Vinay Rangaraju](https://hashnode.com/@vinayrangaraju)

[Apr 27, 2023](https://hashnode.com/posts/lets-code-everyday-day-23/6448287c84bb41d88977fc7c/comment/64490ea542babd75059a4132#reply-644a02fbcd6cc378e2caa7b1)

Thank you Vikas 😊. All the very best
