일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 모여봐요동물의숲
- 프로그래머스
- 동적계획법
- 부분합알고리즘
- 취업사실신고
- leetcode
- 정보처리기사개정
- 후니의쉽게쓴시스코네트워킹
- 튜터링
- HeadFirstDesignPatterns
- 후니의쉽게쓴시스코라우팅
- 코딩테스트
- array
- IT기초
- 네트워크
- 전화영어
- 회사폐업
- 생애첫계약
- 자취준비
- 청년내일채움공제
- 정보
- 사회초년생
- 순열
- 막대기자르기
- 자료구조
- C++
- 알고리즘
- 실업인정인터넷신청
- 실업급여
- 캡쳐링
- Today
- Total
목록분류 전체보기 (210)
따봉도치야 고마워
문제 정수 배열 nums와 정수 val을 제공받아, nums에서 모든 val 값을 제거하세요. 배열의 사이즈를 변경하지 못하는 언어일 경우, 배열의 첫 요소부터 결과를 저장하고 결과 값의 개수 k를 반환하세요. 다른 배열에 추가 메모리를 할당하지 말고 해결하세요. Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The relative order of the elements may be changed. Since it is impossible to change the length of the array in some languages, you must instead have the r..
문제 오름차순으로 정렬된 두 개의 정수 배열 nums1, nums2와 각 배열의 사이즈를 의미하는 m, n 을 입력받는다. nums1과 nums2를 하나의 오름차순 배열로 합쳐라. 새로운 값으로 반환하지 않고, nums1에 합친다. 최종적으로 nums1은 m+n 의 요소를 가져야 하며, 처음에 제공되는 nums1에서 끝에서 n만큼의 요소는 0으로 세팅 된다. You are given two integer arrays nums1 and nums2, sorted in non-decreasing order, and two integers m and n, representing the number of elements in nums1 and nums2 respectively. Merge nums1 and num..
문제 길이가 고정된 정수 배열이 주어졌을 때, 모든 0을 복제하고, 나머지 요소는 오른쪽으로 한 칸씩 이동하세요. 아무 값도 반환하지 말고, 입력받은 배열을 직접 수정하세요. Given a fixed-length integer array arr, duplicate each occurrence of zero, shifting the remaining elements to the right. Note that elements beyond the length of the original array are not written. Do the above modifications to the input array in place and do not return anything. Example 1: Input: ar..
문제 오름차순의 숫자 배열이 주어졌을 때, 각 숫자의 제곱을 오름차순으로 반환해라 Given an integer array nums sorted in non-decreasing order, return an array of the squares of each number sorted in non-decreasing order. Example 1: Input: nums = [-4,-1,0,3,10] Output: [0,1,9,16,100] Explanation: After squaring, the array becomes [16,1,0,9,100]. After sorting, it becomes [0,1,9,16,100]. Example 2: Input: nums = [-7,-3,2,3,11] Output..
문제 숫자 배열이 주어지면, 짝수 자리인 수의 개수를 반환해라 Given an array nums of integers, return how many of them contain an even number of digits. Example 1: Input: nums = [12,345,2,6,7896] Output: 2 Explanation: 12 contains 2 digits (even number of digits). 345 contains 3 digits (odd number of digits). 2 contains 1 digit (odd number of digits). 6 contains 1 digit (odd number of digits). 7896 contains 4 digits (even..
문제 이진 배열이 주어지면 배열에서 1이 최대로 연속되는 수를 반환해라 Given a binary array nums, return the maximum number of consecutive 1's in the array. Example 1: Input: nums = [1,1,0,1,1,1] Output: 3 Explanation: The first two digits or the last three digits are consecutive 1s. The maximum number of consecutive 1s is 3. Example 2: Input: nums = [1,0,1,1,0,1] Output: 2 Constraints: 1
[NEW THINGS] * take on: to begin to perform or deal with something. take turns: do something alternately take over: to begin to have control of something. (인계받다, 넘겨받다) // 영원한 느낌 take the time: spend time to do something take the initiative/lead: do something actively - take the initiative/lead + and do something : 무언가를 주도적으로 한다는 것 * for good [noun] = forever, permanently * hooked on = ~에 푹빠진 * c..
= to remain의 의미 [NEW THINGS] * keep away: 가까이 하지 않다 (go away는 지금 멀리 하라는 것) keep clam keep going keep in: 머물게 하다. keep staying in a place. keep in mind keep in touch keep pace keep score: record score keep tabs on: to watch something or someone carefully. * lose touch [idiom] = to stop communicating with each other: to no longer know what is happening in each other's lives. - keep in touch 의 반대 *..