Skip to content

Commit cdee474

Browse files
refactor 283
1 parent ace6d0f commit cdee474

File tree

1 file changed

+0
-10
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+0
-10
lines changed

src/main/java/com/fishercoder/solutions/_283.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
package com.fishercoder.solutions;
22

3-
/**
4-
* 283. Move Zeroes
5-
*
6-
* Given an array nums, write a function to move all 0's to the end of it while maintaining the relative order of the non-zero elements.
7-
*
8-
* For example, given nums = [0, 1, 0, 3, 12], after calling your function, nums should be [1, 3, 12, 0, 0].
9-
*
10-
* Note:
11-
* You must do this in-place without making a copy of the array.
12-
* Minimize the total number of operations.*/
133
public class _283 {
144
public static class Solution1 {
155
public void moveZeroes(int[] nums) {

0 commit comments

Comments
 (0)