exercism / exercism/problem-specifications

Animal shelter

未关闭
#868 4 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
new exercise idea
主要语言
Ruby
星标
358
派生
563
平均合并
18 小时 41 分钟
30 天内合并 PR
2

描述

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).

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。