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
Does list maintain insertion order java?
Can we clone singleton object?
What an i/o filter in java programming?
What is a java predicate?
What is multithreading ???? How to stop multithrading in java????
What is preflight request?
EDS (Electronic Data Systems India Pvt Ltd) at Chennai on 16-12-2006.
What is passed by reference and pass by value ?
When you declare a method as abstract method ?
garbate collector(GC)?
How can we avoid including a header more than once?
What are the important features of Java 9 release?