Add README
This commit is contained in:
parent
240f3b3a7f
commit
aacfe3120a
21
README.md
Normal file
21
README.md
Normal file
@ -0,0 +1,21 @@
|
||||
# River Crossing
|
||||
|
||||
## Task
|
||||
|
||||
A farmer has five animals on one side. He needs to get all animals to the other
|
||||
side of the river. Unfortunately, he only has two spaces available on his boat
|
||||
and some animals cannot be left on their own. Find a series of boat crossings to
|
||||
get all animals to the other side.
|
||||
|
||||
## Animals
|
||||
|
||||
* 2 Wolves
|
||||
* 1 Fox
|
||||
* 1 Chicken
|
||||
* 1 Worm
|
||||
|
||||
## Constraints
|
||||
|
||||
* Wolves eat foxes.
|
||||
* Foxes eat chickens.
|
||||
* Chickens eat worms.
|
||||
Loading…
x
Reference in New Issue
Block a user