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 struts-config-xml?and its use?

3 Answers  


what is difference between equals and ==?

0 Answers  


What is supplier in java?

0 Answers  


How to access arraylist elements in java?

0 Answers  


What are the differences between c++ and java?

0 Answers  


Enlist few advantages of inheritance?

0 Answers  


what is the reason behind non static method cannot be referenced from a static Context?

2 Answers  


What does indexof mean?

0 Answers  


Can we clone singleton object in java?

0 Answers  


What is nullpointerexception?

0 Answers  


Explain implementation and how is it different from conversion?

0 Answers   Aricent,


What classes of exceptions may be caught by a catch clause in java programming?

0 Answers  


Categories