Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
#️⃣ 어떤 브랜치인가요?
📝 구현 설명 (Describe)
ListMap?
실제 있는 개념인지는 모르겠지만 Map의 가장 간단한 구조 구현
Key 와 Value 의 쌍을 갖는 Node를 List 형식으로 저장하고 관리하며 이떄 List 형식은 이전에 구현한 ArrayList 를 사용.
구현 방식
핵심 메서드는
으로 이루어져 있으며
모든 과정에서 각 과정에서 동일한 Key 값에 대한 내용이 들어있는 ListIndex 탐색을 위해
의 메서드를 실행
덕분의 모든 과정에서 List의 완전 탐색이 일어나 O(N)이라는 시간복잡도가 추가되게 됨.
현재 구현상 문제점