일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 티스토리챌린지
- 오블완
- Python
- 소프티어
- SQL
- softeer
- 프로그래머스
- 깊이 우선 탐색
- Baekjoon
- 동적계획법
- bfs
- SQL 고득점 KIT
- join
- LEVEL 2
- programmers
- Lv. 2
- Lv. 3
- Dynamic Programming
- DP
- level 3
- Java
- dfs
- 파이썬
- 너비 우선 탐색
- 자바스크립트
- javascript
- 백준
- Lv. 0
- group by
- Lv. 1
- Today
- Total
목록programmers (315)
몸과 마음이 건전한 SW 개발자

문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/43162 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 from collections import deque def solution(n, computers): answer = 0 adjL = [[] for _ in range(n+1)] for i in range(n): for j in range(i, n): if i == j: continue if computers[i][j]: adjL[i+1].append(j+1) adjL[j+..
문제 링크 https://school.programmers.co.kr/learn/courses/30/lessons/42628 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 정답 코드 import heapq def solution(operations): maxHeap = [] minHeap = [] for operation in operations: oper, number = operation.split() number = int(number) if oper == "I": heapq.heappush(maxHeap, -number) heapq.heappush..
문제 링크2019 카카오 개발자 겨울 인턴십 코딩테스트 연습 | 프로그래머스 스쿨개발자 취업의 필수 관문 코딩테스트를 철저하게 연습하고 대비할 수 있는 문제를 총망라! 프로그래머스에서 선발한 문제로 유형을 파악하고 실력을 업그레이드해 보세요!school.programmers.co.kr정답 코드def solution(user_id, banned_id): lenU = len(user_id) lenB = len(banned_id) dictionary = dict() for ban in banned_id: dictionary[ban] = [] def dfs(s, userId, cnt, tmp, length, idx): if s == length: ..
문제 링크 2020 KAKAO BLIND RECRUITMENT 코딩테스트 연습 | 프로그래머스 스쿨 개발자 취업의 필수 관문 코딩테스트를 철저하게 연습하고 대비할 수 있는 문제를 총망라! 프로그래머스에서 선발한 문제로 유형을 파악하고 실력을 업그레이드해 보세요! school.programmers.co.kr 정답코드 def solution(s): length = len(s) if length == 1: return 1 minLength = 1001 for l in range(1, length//2+1): lString = "" prevString = "" cnt = 0 for idx in range(0, length, l): string = "" if idx+l > length: string = s[idx..

내 코드 & 통과 시간isValid = Truedef solution(relation): cols = len(relation[0]) rows = len(relation) combination = [] def dfs(S, V, cnt, cols): if S == cols: if cnt: combination.append(V) return dfs(S+1, V+[S], cnt+1, cols) dfs(S+1, V, cnt, cols) dfs(0, [], 0, cols) unique = [] for comb in combination: tmp = ..

문제 링크 2021 KAKAO BLIND RECRUITMENT 코딩테스트 연습 | 프로그래머스 스쿨 개발자 취업의 필수 관문 코딩테스트를 철저하게 연습하고 대비할 수 있는 문제를 총망라! 프로그래머스에서 선발한 문제로 유형을 파악하고 실력을 업그레이드해 보세요! school.programmers.co.kr 정답 코드 dictLanguage = { "cpp": "1", "java": "2", "python": "3", "-": "4", } dictOccupation = { "backend": "1", "frontend": "2", "-": "3" } dictCareer = { "junior": "1", "senior": "2", "-": "3" } dictSoulFood = { "chicken": "1",..