| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- 중간이들
- 99클럽
- aws
- 코드잇
- 꿀단집
- Git
- 코딩테스트
- 방송대컴퓨터과학과
- 코딩테스트준비
- 파이썬프로그래밍기초
- Python
- 클라우드컴퓨팅
- 유노코딩
- 개발자취업
- JavaScript
- 엘리스sw트랙
- TiL
- 파이썬
- CSS
- 방송대
- node.js
- nestjs
- redis
- Azure
- mongoDB
- 프로그래머스
- HTML
- 오픈소스기반데이터분석
- 항해99
- 데이터베이스시스템
- Today
- Total
목록전체 글 (243)
배꼽파지 않도록 잘 개발해요
function solution(park, routes) { // 방향을 벡터 이동으로 매핑 const directionMap = { 'N': [-1, 0], // 북쪽: x축 -1, y축 변화 없음 'S': [1, 0], // 남쪽: x축 +1, y축 변화 없음 'W': [0, -1], // 서쪽: x축 변화 없음, y축 -1 'E': [0, 1] // 동쪽: x축 변화 없음, y축 +1 }; // 시작 위치 찾기 let startX, startY; for (let i = 0; i = park.length || // 공원을 벗어나는지 확인 newY = park[0].length |..
function solution(wallpaper) { // 핵심 : 가장 왼쪽에 있는 좌표, 가장 오른쪽에 있는 좌표 구하면 끝! let left1 = 100; let left2 = 100; let right1 = -1; let right2 = -1; // [left1, left2, right1, right2] for (let i = 0; i
Find if Path Exists in Graph출처 : LeetCodeThere is a bi-directional graph with n vertices, where each vertex is labeled from 0 to n-1 (inclusive). The edges in the graph are represented as a 2D integer array edges, where each edges[i] = [ui, vi] denotes a bi-directional edge between vertex ui and vertex vi. Every vertex pair is connected by at most one edge, and no vertex has an edge to itself. Y..
광복절을 맞이하여 코딩테스트 스터디를 운영하는 항해99에서 이벤트를 진행하였다. 주제인 광복절과 어울리는 아스키 아트 그림 한 장을 그려서 제출하는 것이었다. 할일은 많지만 이벤트에 참여하고 싶어서 한 개 만들어 보았다.만든 과정은 다음과 같다. 이미지 출처 :https://blog.naver.com/PostView.nhn?blogId=jaidream4130&logNo=221610868183 처음에는 태극기, 무궁화, 독립기념물 등 광복절의 상징이 모두 담겨있는 서대문 독립공원을 갖고 그림을 그리려고 했다.하지만 이걸 아스키코드로 변환하였을 때 생각보다 원하는 만큼 또렷하게 나오지 않아서 다른 걸로 바꿨다.우선 아스키코드로 변환하기 이전에 Artguru한테 이 그림의 화풍을 명화처럼 바꿔달라고 해봤다. ..
Find Center of Star Graph출처 : LeetCodeThere is an undirected star graph consisting of n nodes labeled from 1 to n. A star graph is a graph where there is one center node and exactly n - 1 edges that connect the center node with every other node. You are given a 2D integer array edges where each edges[i] = [ui, vi] indicates that there is an edge between the nodes ui and vi. Return the center of ..
Array Partition출처 : LeetCodeGiven an integer array nums of 2n integers, group these integers into n pairs (a1, b1), (a2, b2), ..., (an, bn) such that the sum of min(ai, bi) for all i is maximized. Return the maximized sum. Example 1: Input: nums = [1,4,3,2]Output: 4Explanation: All possible pairings (ignoring the ordering of elements) are:1. (1, 4), (2, 3) -> min(1, 4) + min(2, 3) = 1 + 2 = 32. ..
/** * @param {number} rowIndex * @return {number[]} */var getRow = function(rowIndex) { const row = [1]; for (let j = 1; j