[11주차 / 조은채] 문제풀이 by eunchae01 · Pull Request #76 · KeepDoingSomething/Algorithm-Study · GitHub
Skip to content

[11주차 / 조은채] 문제풀이#76

Merged
nashs789 merged 2 commits into
KeepDoingSomething:mainfrom
eunchae01:main
Aug 4, 2024
Merged

[11주차 / 조은채] 문제풀이#76
nashs789 merged 2 commits into
KeepDoingSomething:mainfrom
eunchae01:main

Conversation

@eunchae01

Copy link
Copy Markdown
Contributor

[ 최소 힙] O

  • Priority Queue 내장 라이브러리 사용해서 풀었습니다.

@eunchae01 eunchae01 self-assigned this Aug 3, 2024
@eunchae01 eunchae01 added BOJ 문제 풀이 사이트 백준 Silver Baekjoon Silver Rank Java Java Language labels Aug 3, 2024
@nashs789 nashs789 linked an issue Aug 4, 2024 that may be closed by this pull request

@nashs789 nashs789 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

한 주 고생하셨습니다.

Comment thread 조은채/BOJ/S2_1927.java Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change

PriorityQueue 는 isEmpty() 를 아래와 같이 구현하고 있으니 제공되는 API를 사용하는게 일관성을 위해서는 좋을거라 생각 됩니다.

return size() == 0;

@nashs789 nashs789 merged commit ee5ce3a into KeepDoingSomething:main Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BOJ 문제 풀이 사이트 백준 Java Java Language Silver Baekjoon Silver Rank

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ #Week11 ] 문제

2 participants