-
Notifications
You must be signed in to change notification settings - Fork 49
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
Sara - Branches #35
base: master
Are you sure you want to change the base?
Sara - Branches #35
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well you didn't create the Queue using a circular buffer... using a LinkedList wasn't the assignment. So... there's that. It all works, and Stack is fine, but it's a good idea to read the assignment.
@@ -1,28 +1,61 @@ | |||
# Wave 2 | |||
# require_relative './stack.rb' | |||
require "./linked_list" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be a require_relative, although you don't need a linked list in this class for the assignment.
class Queue | ||
|
||
def initialize | ||
# @store = ... | ||
raise NotImplementedError, "Not yet implemented" | ||
@store = LinkedList.new |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These work, but using a LinkedList wasn't the assignment.
Stacks and Queues
Thanks for doing some brain yoga. You are now submitting this assignment!
Comprehension Questions
OPTIONAL JobSimulation