| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 2022
- 하늘과 바람과 별과 시
- nestedlists
- C++
- Certbot/dns-route53
- 알고리즘
- hackerrank
- swift
- 프로그래머스
- Code Jam
- Python
- secondlowestgrade
- 3D PRINTING
- Kubernetes
- 하늘과 바람과 별과 詩
- LEVEL 2
- on-prem
- GitLab
- Code Jam 2022
- leetcode
- K8S
- 해커랭크
- 코딩테스트
- ingress-nginx
- MySQL
- Algorithm
- 파이썬
- Qualification Round
- openebs
- Today
- Total
목록전체 글 (82)
공대생의 비망록
중첩 for-loop 활용 방법: class Solution: def containsDuplicate(self, nums: List[int]) -> bool: for i in range(len(nums)): for j in range(i + 1, len(nums)): if nums[i] == nums[j]: return True return False 집합 (Set) 자료구조 활용 방법: class Solution: def containsDuplicate(self, nums: List[int]) -> bool: exists = set() for num in nums..
중첩 for-loop 사용: class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: for i in range(len(nums)): for j in range (i + 1, len(nums)): if nums[i] + nums[j] == target: return [i, j]시간복잡도 개선을 위해 Dictionary 자료구조를 활용하는 방식: class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: desiredTarget = {..
ESXi 업데이트를 위해 depot zip 파일을 다운로드하고 버전을 업데이트 하려고 했는데, 그 명령어가 기억나지 않아 다시 찾는 과정을 앞으로 다시 겪지 않도록 기록으로 남긴다. $ esxcli software vib update -d [ZIP_FILE_PATH] 예시: $ esxcli software vib update -d /vmfs/volumes//ESXi650-202210001.zip
Amazon Linux, CentOS, RedHat, Ubuntu 등 다양한 환경에서 ll 명령어가 통하지 않는 경우가 있다. 이는 .bashrc 파일에 ls 명령어를 좀 더 응용하여 사용하도록 하는 ll 명령어에 대한 alias가 정의되어 있지 않아 발생하는 문제이다. 이러한 경우에는 아래의 명령어를 입력하여 수행한 후 터미널을 재시작하면 ll 명령어를 사용할 수 있다! $ echo "alias ll='ls -alF'" >> ~/.bashrc $ source ~/.bashrc
https://programmers.co.kr/learn/courses/30/lessons/42746 코딩테스트 연습 - 가장 큰 수 0 또는 양의 정수가 주어졌을 때, 정수를 이어 붙여 만들 수 있는 가장 큰 수를 알아내 주세요. 예를 들어, 주어진 정수가 [6, 10, 2]라면 [6102, 6210, 1062, 1026, 2610, 2106]를 만들 수 있고, 이중 가장 큰 programmers.co.kr 풀이는 추후에 차차 올리도록 하겠습니다... Swift로도 푼 문제! Swift 풀이 : https://youngdeveloper.tistory.com/146 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 #include #include ..
https://programmers.co.kr/learn/courses/30/lessons/42746 코딩테스트 연습 - 가장 큰 수 0 또는 양의 정수가 주어졌을 때, 정수를 이어 붙여 만들 수 있는 가장 큰 수를 알아내 주세요. 예를 들어, 주어진 정수가 [6, 10, 2]라면 [6102, 6210, 1062, 1026, 2610, 2106]를 만들 수 있고, 이중 가장 큰 programmers.co.kr 풀이는 추후에 차차 올리도록 하겠습니다... C++로도 푼 문제! C++ 풀이 : https://youngdeveloper.tistory.com/147 1 2 3 4 5 6 7 8 9 10 11 12 import Foundation func solution(_ numbers:[Int]) -> Str..
https://programmers.co.kr/learn/courses/30/lessons/42578 코딩테스트 연습 - 위장 programmers.co.kr C++로도 푼 문제! C++ 풀이 : https://youngdeveloper.tistory.com/144 [C++][Lv. 2] 위장 C++ 풀이 https://programmers.co.kr/learn/courses/30/lessons/42578 코딩테스트 연습 - 위장 programmers.co.kr 풀이는 추후에 차차 올리도록 하겠습니다... 1 2 3 4 5 6 7 8.. youngdeveloper.tistory.com 풀이는 추후에 차차 올리도록 하겠습니다... 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ..
https://programmers.co.kr/learn/courses/30/lessons/42578 코딩테스트 연습 - 위장 programmers.co.kr 풀이는 추후에 차차 올리도록 하겠습니다... Swift로도 푼 문제! Swift 풀이 : https://youngdeveloper.tistory.com/145 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 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 #include #include #include #include using namespace std; int solution(vector clothes) { int an..
