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
When we r go to abstract class and when we go to Interface? i have confusion this question while in interview plz clarify
Is overriding possible in java?
how many access specifiers are available in java
while creating thread why we extend thread class
State two differences between C and Java.
Which number is denoted by leading 0x or 0x in java?
What is the difference between integer parseint and integer valueof?
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters?
What is data and its types?
How do you get the length of a string in java?
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; } }
Explain about wait() method?