Skip to content

Just an exercise done in an interview process about a silly rabbit that need to eat as many carrots as it can.

Notifications You must be signed in to change notification settings

necronet/rabbit-exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Interview exercise about a rabbit game

The rabbit is going to be place at the center of the matrix, if the matrix has no definitive center then it will pick the place near the center that has the most carrots.

Each number in the array represent the carrots in the place, the rabbit can only move up, down, left, right. The rabbit will pick the place with the most amount of carrots once the rabbit hits a point where there is no carrot in its neighbor coordinates it will go to sleep and the game is over.

About

Just an exercise done in an interview process about a silly rabbit that need to eat as many carrots as it can.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published