exercism / exercism/problem-specifications

Animal shelter

Đang mở
#868 4 bình luận 3 reaction 0 người được giao Xem trên GitHub
new exercise idea
Ngôn ngữ chính
Ruby
Star
358
Fork
563
Merge trung bình
18 giờ 41 phút
Pull request đã merge (30 ngày)
2

Mô tả

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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.