Skip to content

Commit

Permalink
[Queue] Fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
deunlee committed May 26, 2020
1 parent 0ac758a commit 3494c05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Queue/Queue.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Deun {
unsigned int size; // 큐의 크기 (배열 원소의 개수)
unsigned int count; // 채워진 원소의 개수
// (count 변수를 사용하지 않아도 큐의 공백/포화 상태를
// 검출할 수 있지만, 배열의 원소 중 하나를 비워두어야 한다)
// 검출할 수 있지만, 배열의 원소 중 하나를 비워두어야 )
// (비워두는 것이 마음에 들지 않아 count 변수를 사용하기로 함)
unsigned int front; // 원소를 삭제할 자리
unsigned int rear; // 원소를 삽입할 자리
Expand Down

0 comments on commit 3494c05

Please sign in to comment.