Notice
Recent Posts
Recent Comments
Link
반응형
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
Tags
- 백준
- 자바스크립트
- 정렬
- 코딩
- array
- java
- 일본어학습지
- 가벼운학습지
- 알고리즘
- js
- 코테준비
- mybatis
- SWEA
- 삼성소프트웨어아카데미
- 인프런
- stack
- 삼성
- 일본어독학
- 성인학습지
- 자료구조
- 마이라이트
- 코테
- 스텍
- 프로그래머스
- 자바
- javascript
- 가벼운학습지후기
- 코딩테스트
- 카카오
- 일본어공부
Archives
- Today
- Total
목록coding (1)
개발에 AtoZ까지
[JAVA][Array] MoveZeros
1. 문제 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. Example: Input: [0,1,0,3,12] Output: [1,3,12,0,0] Note: You must do this in-place without making a copy of the array. Minimize the total number of operations. 2. 문제해설 숫자들이 주어졌을때 숫자간의 순서는 유지하되 0만 맨끝쪽으로 이동시키게 하라 3. 코드포맷 public class MoveZeros { public static v..
코딩테스트 준비/기타문제
2021. 1. 25. 22:00