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
47 stars 98 forks source link

MoveZeros #398

Closed vyom18 closed 3 years ago

vyom18 commented 3 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 3 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.