Skip to content

[Data Structure] 덱 V2 구현 - #185

Merged
sh0723 merged 1 commit into
mainfrom
implement-deque-v2
Jul 22, 2026
Merged

[Data Structure] 덱 V2 구현#185
sh0723 merged 1 commit into
mainfrom
implement-deque-v2

Conversation

@sh0723

@sh0723 sh0723 commented Jul 22, 2026

Copy link
Copy Markdown
Owner

Summary

  • IntDeque V2 구현을 추가했습니다.
  • 동적 배열과 front_index, rear_index를 사용해 원형 덱 구조를 구성했습니다.
  • pushFront, pushBack, popFront, popBack, front, back, at, operator[], clear, reserve를 지원합니다.
  • 파일 내 assert 기반 테스트로 빈 덱, 원형 인덱스 순환, capacity 확장, 재사용 케이스를 검증합니다.

Test

  • c++ -std=c++17 -Wall -Wextra -pedantic src/data_structure_implement/array/deque/deque_V2.cpp -o /tmp/deque_v2_check
  • /tmp/deque_v2_checkALL TESTS PASSED

Closes #184

@sh0723
sh0723 merged commit c7bf026 into main Jul 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Data Structure] 덱 V2 구현

1 participant