본문 바로가기

몽상실현개발주의

검색하기
몽상실현개발주의
프로필사진 migrationArc

  • 분류 전체보기 (421)
    • Dev (9)
    • Language (271)
      • C (186)
      • Javascript (9)
      • Python (2)
      • php (48)
      • Algorithm (26)
    • Algorithm PS (127)
      • BOJ (113)
      • 프로그래머스 (7)
      • Algospot (7)
    • 몽상실현 (1)
      • 회고 (1)
Guestbook
Notice
Recent Posts
Recent Comments
Link
«   2025/07   »
일 월 화 수 목 금 토
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
Tags
  • JavaScript
  • Algorithm
  • 정수론
  • greedy
  • dfs
  • DP
  • C
  • 인프런
  • Python
  • BFS
  • udemy
  • Cleancode
  • server
  • 종만북
  • BASIC
  • programmers
  • php
  • String
  • 생활코딩
  • 백준
  • sorting
  • BOJ
  • graph
  • Math
  • Algospot
  • web
  • 따라하면서 배우는 C언어
  • 따배씨
  • 따라하며 배우는 C언어
  • C언어
more
Archives
Today
Total
관리 메뉴
  • 글쓰기
  • 방명록
  • RSS
  • 관리

목록set (1)

몽상실현개발주의

[Python] List / Set / Dictionary Method 의 시간 복잡도

[Python] List / Set / Dictionary 의 시간 복잡도 Python 의 자료형인 List / Set / Dictionary 에서 제공하는 method 의 시간 복잡도를 정리해 보았다. List Operation Example Big-O Note Index l[i] O(1) Store l[i] = 0 O(1) Length len(l) O(1) Append l.append(5) O(1) Pop l.pop() == l.pop(-1) i.pop(i) l.pop(0) O(1) O(N) O(N) Clear l.clear() O(1) l = [] 과 유사 Slice l[a:b] l[:] O(b-a) O(N) Extend l.extend(…) O(len(…)) Construction list(…) ..

Language/Python 2021. 5. 23. 14:55
Prev 1 Next

Blog is powered by kakao / Designed by Tistory

티스토리툴바