Skip to content

Commit

Permalink
[Deque] Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
deunlee committed May 28, 2020
1 parent 0419215 commit 2918c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Deque/Deque.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ namespace Deun {
// front : 채워진 상태 (단, count가 0이면 비워져 있음)
// rear : 비어있는 상태 (단, count가 size면 채워져 있음)

// front와 rear중 하나는 채워진 상태가, 나머지 하나는 비어있는 상태가 되도록 해야 함
// front와 rear 중 하나는 채워진 상태가, 나머지 하나는 비어있는 상태가 되도록 해야 함
// Deque을 Stack으로 사용하는 경우에는 둘 다 채워져 있거나 둘 다 비어있어도 되지만,
// Deque을 Queue로 사용하는 경우 맨 처음에 들어간 원소가 맨 처음으로 나오지 않게 됨

Expand Down

0 comments on commit 2918c95

Please sign in to comment.