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

popleft and popright should return value #124

Closed
prshnt19 opened this issue Mar 4, 2020 · 2 comments · Fixed by #125
Closed

popleft and popright should return value #124

prshnt19 opened this issue Mar 4, 2020 · 2 comments · Fixed by #125

Comments

@prshnt19
Copy link
Member

prshnt19 commented Mar 4, 2020

Description of the problem

In liner_data_structures/linked_lists the pop_left and pop_right functions in return should also return value of the element to be popped.

Example of the problem

References/Other comments

@czgdp1807
Copy link
Member

Queue has also a popleft method. Does that work correctly?

@prshnt19
Copy link
Member Author

prshnt19 commented Mar 4, 2020

Currently, Queue is only implemented as ArrayQueue. It works correctly. Currently working on LinkedListQueue. I will use only the correct implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants