Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


Write a java program to find the route that connects
between Red and Green Cells.












General Rules for traversal
1. You can traverse from one cell to another
vertically, horizontally or diagonally.
2. You cannot traverse through Black cells.
3. There should be only one Red and Green cell and at
least one of each should be present. Otherwise the array is
invalid.
4. You cannot revisit a cell that you have already
traversed.
5. The maze need not be in the same as given in the
above example


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

What is the difference between a synchronized method and a synchronized block?

0 Answers  


What are anonymous inner classes?

0 Answers  


Difference between a Scrollbar and a ScrollPane?

1 Answers  


How do you use find and replace?

0 Answers  


What is operator overloading. Is it is supported in java?

0 Answers  


What is OOP?

2 Answers   BMC, Microsoft,


What is the main method java?

0 Answers  


What is slash r?

0 Answers  


How to declare objects of a class ?

0 Answers   Akamai Technologies,


What is the program development process?

0 Answers  


why the abstract class has default constructor?

2 Answers  


Is space a character in java?

0 Answers  


Categories