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
Difference between java and javascript
how to write a program for chat function using core java
What are the different types of sorting in java?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
What are the super most classes for all the streams?
Can inner class extend any class?
Define package in Java.
What is private static in java?
What is number data type?
Is main an identifier?
Why are pointers not secure?
What is google full form?