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
Functionality of JVM?
what is the output??????? public class multireturn { public(int assign x ( int x) { if(4==x) { return 7; } else if (7=x+3) { return 6; } return 5; } }
When we should use serialization?
What is not thread safe?
Write a program to solve producer consumer problem in java?
What is final keyword in java? Give an example.
What is java lang string?
How do you generate random numbers in java?
What are the two categories of data types in the java programming language?
What do you mean by the term transient?
Define canvas?
Why should I use abstract class?