A farmer is trying to cross a river. He is taking with him a rabbit, carrots and a fox, and he has a small raft. He can only bring 1 item a time across the river because his raft can only fit either the rabbit, the carrots or the fox. How does he cross the river. (You can assume that the fox does not eat the rabbit if the man is present, you can also assume that the fox and the rabbit are not trying to escape and run away)
Take rabbit across
go back
Take fox across and go back across with rabbit
take carrots across and leave 'em with fox
go back and get rabbit....