Skip to content

Min: 2월 2주차 문제 풀이#17

Open
gitseoyeon wants to merge 4 commits intomainfrom
min
Open

Min: 2월 2주차 문제 풀이#17
gitseoyeon wants to merge 4 commits intomainfrom
min

Conversation

@gitseoyeon
Copy link
Member

🔥 해결한 문제

백준

프로그래머스


🚒 해결하지 못한 문제

원인 분석

개선 계획


💡 새롭게 알게된 점

  • 이분 탐색에 대해 다시 공부해 볼 수 있었습니다!

🚀 보완할 점

@gitseoyeon gitseoyeon requested a review from muncool39 February 13, 2026 10:02
@gitseoyeon gitseoyeon self-assigned this Feb 13, 2026
Copy link
Member

@muncool39 muncool39 left a comment

Choose a reason for hiding this comment

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

스터디 수고하셨습니다! 설명을 잘 해주셔서 이해가 쏙쏙 됐습니다 짱!! 👍
즐거운 연휴 보내세요! 😃

}
}
}
depth += 1;
Copy link
Member

Choose a reason for hiding this comment

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

깊이 정보를 큐에 저장하지 않고 구한 점이 인상깊었습니다! 👍

Comment on lines +34 to +40
if(hm.containsKey(s)) {
hm.get(s).add(score);
} else {
ArrayList<Integer> list = new ArrayList<>();
list.add(score);
hm.put(s, list);
}
Copy link
Member

Choose a reason for hiding this comment

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

해당 부분을 map의 computeIfAbsent 를 사용해 간단하게 줄일 수 있을 것 같아요!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants