Skip to content

record codes that hard to solve or need to remember.

Notifications You must be signed in to change notification settings

SeungKyoJin/baekjoon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

baekjoon

백준 문제풀이 코드와 설명을 남기기 위한 레포지터리입니다.

  • Deque (double-ended queue)

    스택과 큐가 결합한 형태이다. 기본 큐에 pop을 하는 경우 O(n)의 비용이 드는데,
    popleft()를 하면 O(1)로 해결가능.

from collection import deque

q = deque.Deque()
q.popleft()

About

record codes that hard to solve or need to remember.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages