Skip to content

Elizabeth - Leaves#46

Open
north108 wants to merge 1 commit into
Ada-C12:masterfrom
north108:master
Open

Elizabeth - Leaves#46
north108 wants to merge 1 commit into
Ada-C12:masterfrom
north108:master

Conversation

@north108
Copy link
Copy Markdown

@north108 north108 commented Mar 6, 2020

Turning in what I have so far.

Stacks and Queues

Thanks for doing some brain yoga. You are now submitting this assignment!

Comprehension Questions

Question Answer
What is an ADT?
Describe a Stack
What are the 5 methods in Stack and what does each do?
Describe a Queue
What is the difference between implementing something and using something?
When is a circular buffer advantageous over a dynamic array or LinkedList?

Copy link
Copy Markdown

@CheezItMan CheezItMan left a comment

Choose a reason for hiding this comment

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

Well done! You hit all the learning goals here. Excellent work!

Comment thread lib/queue.rb
@front = -1
end

def enqueue(element)
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍

Comment thread lib/queue.rb
end
end

def dequeue
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍 , Well done!

Comment thread lib/queue.rb
return @front == -1
end

def to_s
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

👍

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