Skip to content

Implement queue using doubly-linked list + unit tests#23

Open
sydrawat01 wants to merge 1 commit into
Summer2022from
sid-feat
Open

Implement queue using doubly-linked list + unit tests#23
sydrawat01 wants to merge 1 commit into
Summer2022from
sid-feat

Conversation

@sydrawat01

@sydrawat01 sydrawat01 commented Jul 4, 2022

Copy link
Copy Markdown
Collaborator
  • Implemented queue using doubly-linked list.
  • Added additional package-private methods getHead() and getTail() to get the head and tail elements in DList.
  • Unit tests for queue using doubly-linked list.

@sydrawat01 sydrawat01 requested a review from xiaohuanlin July 4, 2022 21:28
@xiaohuanlin

Copy link
Copy Markdown
Collaborator

Good job! I think your code is a compliment to the repository. But I am not if is necessary to be merged into the branch because it is just another kind of approach to implementing queue.

@xiaohuanlin xiaohuanlin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! I have tested the whole code.

@xiaohuanlin xiaohuanlin requested a review from rchillyard July 11, 2022 20:56
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.

2 participants