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

Suzanne-finished assignment #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SuzHarrison
Copy link

Hi Crystal-this was a fun exercise and it took me another day or so to get max but I understand the pattern now. Had to add some puts statements and extra test elements to make sure it was returning what I thought it should be.

Thanks and hope your weekend is going great

Suze

current = current.next_node
end
puts "The list does not include #{key}"
return false
end

Choose a reason for hiding this comment

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

yes! this looks nice! the only thing is that you shouldn't "puts" anything because I did not ask for that, which means that you are creating unintended side-affects for the method that may not be expected.

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