SarthakKeshari / Java-Questions-and-Solutions

This repository aims to solve and create new problems from different spheres of coding. A path to help students to get access to solutions and discuss their doubts.
MIT License
46 stars 95 forks source link

MoveZeros #398

Closed vyom18 closed 2 years ago

vyom18 commented 2 years ago

Enter your question -

Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.

Enter link to the question(if question belongs to any online platform) -

https://leetcode.com/explore/interview/card/top-interview-questions-easy/92/array/567/

Tags for the question(eg - Array, Basic, Stack, etc.) -

Array

SarthakKeshari commented 2 years ago

@vyom18, Kindly request for assigning it and only once its assigned, you may created the PR. Since its happening for the first time, I will accept it.