Created
April 30, 2014 02:04
-
-
Save arlandism/cc7d9f0734dd5f23b35f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node = @head.next_node | |
while !node.nil? do | |
node = node.next_node | |
end | |
node.next_node = Node.new(value) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's an example append