-
Notifications
You must be signed in to change notification settings - Fork 0
2025-10-21 문제 풀었어요 #12
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
Conversation
PR Reviewer Guide 🔍
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|
/ask "Map의 delete 연산이 Array의 shift보다 오버헤드가 큰 이유가 무엇인가요?" |
Ask❓map의 delete 연산이 array의 shift보다 오버헤드가 큰 이유가 무엇인가요? Answer:Map의 delete 연산이 Array의 shift보다 오버헤드가 큰 이유를 설명하겠습니다.
따라서 PR의 Queue 구현에서 Map을 사용하는 것보다 Array를 사용하는 것이 더 효율적일 수 있습니다. 단, 큐의 크기가 매우 크고 dequeue 연산이 매우 빈번한 경우에는 circular queue와 같은 다른 구현 방식을 고려하는 것이 좋습니다. |
User description
오늘도 멋져요 👍✨
PR Type
Enhancement
Description
프로그래머스 미로 탈출 문제 - BFS 2번 활용한 구현
프로그래머스 다단계 칫솔 판매 - 트리 구조 재귀 구현
README.md에 새로운 문제 해결 목록 추가