Skip to content
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

[9주차] 고다혜 #118

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

Conversation

KodaHye
Copy link
Contributor

@KodaHye KodaHye commented Nov 4, 2024

No description provided.

// 없앨 수 있는 몬스터 정보 구하기
while(!q.isEmpty()) {
qPoint current = q.poll();

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

애초에 큐를 우선순위큐로 하면 가장 먼저 찾은 몬스터를 없애면 되는군요!! 👍 효율적인 코드 배워갑니다!

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.

2 participants