-
Notifications
You must be signed in to change notification settings - Fork 4
[8주차] 이혜원 #104
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
[8주차] 이혜원 #104
Conversation
CodeTree/2017-2018년/HW_방화벽_설치하기.java
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
모든 영역에 불이 붙는 경우(빈 영역이 없는 경우) 밖에 없을수도 있으니깐 max값은 0
으로 설정해두는 것이 좋을 것 같아요!
CodeTree/2017-2018년/HW_방화벽_설치하기.java
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
모든 DFS
마다 불의 위치를 다시 찾아주는 것은 비효율적이에요!
미리 불 위치를 입력 받을 때 리스트에 담아두고 큐에 옮겨 담는 것이 더 좋을 것 같아요
CodeTree/2017-2018년/HW_방화벽_설치하기.java
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이렇게 DFS
의 시작 범위를 잡으면 중복 연산이 발생하니 중복 처리를 위한 비트 마스킹이나 다른 방법을 찾아보는 것도 좋을 것 같아요!
BOJ/1000-5000번/HW_1911.java
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
완전 정석적인 코드 같아여~~ 굿 👍
No description provided.