일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 반도체 설계 파이썬
- 백준 1238 파티 파이썬
- 게임 개발 파이썬
- 백준 11054.가장 긴 바이토닉 부분 수열
- 다리 만들기 파이썬
- SQL SERVER MIGRATION
- 트리의 지름 파이썬
- 가장 긴 바이토닉 부분 수열 파이썬
- 백준 1167 트리의 지름 파이썬
- 백준 1613 역사
- SWEA
- 프로그래머스 등굣길
- 프로그래머스 베스트앨범
- SQL SERVER 장비교체
- 순위 파이썬
- 프로그래머스 순위 파이썬
- 역사 파이썬
- 백준 2352 반도체 설계 파이썬
- 가장 긴 팰린드롬 파이썬
- 백준 1043 거짓말 파이썬
- 백준 1034 램프 파이썬
- 백준 1516 게임 개발
- 베스트앨범 파이썬
- 프로그래머스 여행경로
- 램프 파이썬
- 프로그래머스 순위
- 프로그래머스 가장 긴 팰린드롬
- 등굣길 파이썬
- 다중 컬럼 NOT IN
- 백준 2146 다리 만들기
Archives
- Today
- Total
목록프로그래머스 방문 길이 (1)
공부, 기록
프로그래머스 방문 길이 파이썬(PYTHON)
문제링크 : programmers.co.kr/learn/courses/30/lessons/49994 코딩테스트 연습 - 방문 길이 programmers.co.kr import copy def solution(dirs): answer = 0 coord=list() coord.append(0) coord.append(0) movehistory=list() for i in dirs: newcoord=movearrow(coord,i) if (coord,newcoord) not in movehistory and coord!=newcoord: movehistory.append((coord,newcoord)) movehistory.append((newcoord,coord)) coord=newcoord return (..
코딩
2020. 11. 14. 13:48