exercism / exercism/problem-specifications

Animal shelter

Open
#868 4 comments 3 reactions 0 assignees View on GitHub
new exercise idea
Dominant language
Ruby
Stars
358
Forks
563
Avg merge
18h 41m
Merged PRs (30d)
2

Description

Not my idea, I've seen this one in `Cracking the code interview`. To put it simple, the shelter works as a queue and is filled with cats and dogs. If you want to adopt an animal, you will have two options:

- the oldest animal (any animal)
- choose the oldest cat or dog

I like it because you'll have to implement a queue-like data structure, it doesn't matter if you use arrays or linked lists (or whatever you want to list here).

If you like this exercise, I can create a PR (maybe in a week from now, no promises).

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.