Skip to content

feat: 이중우선순위큐 #100

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

feat: 이중우선순위큐 #100

wants to merge 1 commit into from

Conversation

JengYoung
Copy link
Member

⚠️ 연결된 이슈를 적어주세요!

🌟 문제의 제목과 출처를 작성해주세요.

🕰 문제를 푸는 데 걸린 시간은 어떠했나요?

30분

✨ 풀이 과정에 대해서 설명해봅시다.

💥 문제의 핵심 알고리즘

우선순위 큐

🔥 상세 풀이 과정

  1. 여태까지 몇 개가 삽입되고 삭제되었는지를 파악하기 위한 length를 생성한다.
  2. 큐에 삽입 / 삭제를 하면서 length가 비어있다면 큐를 초기화하고, 아니라면 큐에서 값을 빼내거나 넣는다.
  3. 모든 연산을 끝내고 결과를 반환한다.

💎 배운 점, 그리고 제대로 숙지하지 못했던 점

🌙 배운 점

💧 제대로 숙지하지 못했던 점

@JengYoung JengYoung self-assigned this Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant