무근본 개발자에서 근본있는 개발자로...

무근본 개발자에서 근본있는 개발자로...

  • 분류 전체보기 (37)
    • 일기 (1)
    • 개발 (35)
      • AI&ML (2)
      • Django (7)
      • Docker (0)
      • Python (4)
      • graphQL (3)
      • 오늘의 소소한꿀팁 (7)
      • DataBase System(SNUON 강의) (2)
      • Go (3)
      • 네트워크 (2)
      • 알고리즘 (3)
      • aws (2)
  • 홈
  • 태그
  • 방명록
RSS 피드
로그인
로그아웃 글쓰기 관리

무근본 개발자에서 근본있는 개발자로...

컨텐츠 검색

태그

django-serializer pandas serverless graphql parellel graphene go routine machine code leetcode rest-api Postgres Python django Algorithm programmers docker rest-framework go docker-compose Asynchronous

최근글

댓글

공지사항

아카이브

Algorithm(2)

  • 20200630 programmers print

    def max_count(priorities): max_num = 0 max_idx = 0 length = len(priorities) for i in range(length): if priorities[i] > max_num: max_num = priorities[i] max_idx = i return max_num, max_idx def solution(priorities, location): answer = 0 while True: max_num, max_idx = max_count(priorities) if location > max_idx: priorities = priorities[max_idx+1:] + priorities[:max_idx] location = location - max_id..

    2020.06.30
  • 20200625 Leetcode two sum python solution

    class Solution: def twoSum(self, nums: List[int], target: int) -> List[int]: hmap = {} for i in range(len(nums)): idx = hmap.get(nums[i]) if idx: return [idx-1,i] hmap[target-nums[i]] = i+1

    2020.06.25
이전
1
다음
티스토리
© 2018 TISTORY. All rights reserved.

티스토리툴바

단축키

내 블로그

내 블로그 - 관리자 홈 전환
Q
Q
새 글 쓰기
W
W

블로그 게시글

글 수정 (권한 있는 경우)
E
E
댓글 영역으로 이동
C
C

모든 영역

이 페이지의 URL 복사
S
S
맨 위로 이동
T
T
티스토리 홈 이동
H
H
단축키 안내
Shift + /
⇧ + /

* 단축키는 한글/영문 대소문자로 이용 가능하며, 티스토리 기본 도메인에서만 동작합니다.