Skip to content
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

Refactor: Trie를 리팩토링한다. #108

Merged
merged 3 commits into from
May 4, 2024
Merged

Conversation

hseong3243
Copy link
Owner

작업 내용

  • TrieNode의 isWord를 기본형인 boolean에서 AtomicBoolean으로 변경했습니다.
  • TrieNode에서 스스로의 문자를 나타내던 필드가 사용되는 곳이 없어 제거했습니다.
  • TireNode의 nextNode()의 연산이 원자적으로 이루어지도록 수정했습니다.
  • Trie의 테스트 코드를 수정했습니다. 더하기 연산으로 입력할 문자열을 만들어내던 것에서 미리 선언한 문자열 배열을 이용하도록 변경했습니다.

@hseong3243 hseong3243 added the Refactor 프로젝트 구조 및 코드를 개선합니다. label May 4, 2024
@hseong3243 hseong3243 self-assigned this May 4, 2024
@hseong3243 hseong3243 linked an issue May 4, 2024 that may be closed by this pull request
Copy link

github-actions bot commented May 4, 2024

Test Results

200 tests  ±0   200 ✅ ±0   3s ⏱️ -1s
 59 suites ±0     0 💤 ±0 
 59 files   ±0     0 ❌ ±0 

Results for commit e6c46f8. ± Comparison against base commit 45e69ba.

@hseong3243 hseong3243 merged commit d048b80 into main May 4, 2024
2 checks passed
@hseong3243 hseong3243 deleted the refactor/#107-refactor-trie branch May 4, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Refactor 프로젝트 구조 및 코드를 개선합니다.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor: Trie를 리팩토링한다.
1 participant