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

pop_left and pop_right returns value #125

Merged

Conversation

prshnt19
Copy link
Member

@prshnt19 prshnt19 commented Mar 4, 2020

References to other Issues or PRs or Relevant literature

Fixes #124

Brief description of what is fixed or changed

Now pop_left and pop_right returns the popped node.
Updated tests to keep a check on whether the value is returned.

Other comments

@codecov
Copy link

codecov bot commented Mar 4, 2020

Codecov Report

Merging #125 into master will not change coverage by %.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #125   +/-   ##
=========================================
  Coverage   98.019%   98.019%           
=========================================
  Files           20        20           
  Lines         1363      1363           
=========================================
  Hits          1336      1336           
  Misses          27        27           

Impacted file tree graph

@prshnt19 prshnt19 force-pushed the issue_124_pop_return_value branch from b4e9761 to 3329c2b Compare March 4, 2020 12:12
@czgdp1807
Copy link
Member

czgdp1807 commented Mar 4, 2020

Does this patch work for other types of linked lists? Can you update their tests as well?

@prshnt19
Copy link
Member Author

prshnt19 commented Mar 4, 2020

I have updated it for all the Linked lists.

@czgdp1807
Copy link
Member

LGTM. @manaswinidas Any comments?

Copy link
Contributor

@manaswinidas manaswinidas left a comment

Choose a reason for hiding this comment

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

LGTM too. Sorry for the slow response @czgdp1807 😅

@czgdp1807 czgdp1807 merged commit d80e35e into codezonediitj:master Mar 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

popleft and popright should return value
3 participants