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

Stacked. Queued. All tests passed. #43

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

Stacked. Queued. All tests passed. #43

wants to merge 1 commit into from

Conversation

janicewilson
Copy link

Stacks and Queues

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

Comprehension Questions

Question Answer
What is an ADT? Abstract Data Types
Describe a Stack LIFO
What are the 5 methods in Stack and what does each do? Top, Pop
Describe a Queue FIFO
What are the 5 methods in Queue and what does each do? Enqueue, Dequeue, Front
What is the difference between implementing something and using something? implementing == defining & using == instantiating

Apologies for being tardy! My seat squad got me sorted! Unfortunately, I only took notes on the methods that I hadn't yet used. Which means I've forgotten the others.

OPTIONAL JobSimulation

Question Answer
Did you include a sample run of your code as a comment?

@sudocrystal
Copy link

You should look up the answers if you don't remember the answers to these. These are the things that I'd expect you to be recall in the future.

What are the 5 methods in Stack and what does each do?

and

What are the 5 methods in Queue and what does each do?

@sudocrystal
Copy link

Stacks and Queues

What We're Looking For

Feature Feedback
Implementation of Stack looks complete yes
Implementation of Queue looks complete yes

Solution looks good, but you need to watch your indentation and spacing. Ruby indentation is two spaces on each indented over text. Yours looks more like 5 or 6 spaces, or a traditional tab. Also you have lots of blank lines in the code, this makes the code harder to read and follow.

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