anteaya / linkedlist Goto Github PK
View Code? Open in Web Editor NEWThis project forked from robotarmy/linkedlist
Linked List Ruby Learning
This project forked from robotarmy/linkedlist
Linked List Ruby Learning
##==begin README # # Yes - there are supposed to be 2 1's # # 0) Fork this Github Project # # 1) in your fork # 1) break README, NODE, and LIST into 3 files - Readme, node.rb, and list.rb # 2) create 2 test files - one for node and one for list # # 1) Write empty test wrappers for each of the methods in described in the class # # 2) for each of the test wrappers marked #:record_attr # 1) design assertions according to comment about method - failing test # 2) write code - passing test # # 3) for each of the rest of the test wrappers # 1) design assertions according to comment about method - failing test # 2) write code - passing test # # 5) implement tests for the following scenarios # 1) find first node which has the value 'a' # 2) find all nodes which have the value 'z' # 3) sort a list # 1) each of the nodes in the List will have a number (n > 0 < n) # 2) this method will re-order a copy of the list # 3) hint => use message 'dup' to make a copy of an object # # 8) implement methods for the tests in step 5 # # BONUS POINTS # # 13) add a test for a class method to List with the following interface # # class << self # def fibonacci(length) # # return 'length' elements of fibonacci sequence # end # end # # 21) think of a common alternative name for : # # 'insert_next' # 'remove_next' # 'insert_begining' # 'remove_begining' # # Hint - What are Stack operations? # # (method-rename:refactor) # Refactor your test and then your code to use your new names # ##==end README
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.