For ease of programming you can consider the maze as a 2D
array with colors represented by below integer and
characters (in capital letters).
• B - Black
• W -White
• G- Green
• R- Red
R B W B W W W W
W W
B W B B W W W W
W W
W B W B W W W B
W W
W W B B W W W B
W W
W B W W B B B B
W B
W B W W B W W W
B W
W W B B B W W B
W W
W B W W B W B W
W W
B W B W W W W B
B W
W W W B W W W W
W G
Shortest Route Problem:
• Solution that finds the shortest Route between Red
and Green
 White will have 1 Weight.
 Red and Green carry no weights.
 Shortest path is the path with less weight when you
add up the weights in the path.
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between normal report & matrix report?
Can we have any other return type than void for main method?
What is difference between float and double?
When would you use a static class?
How do you avoid global variables?
Can we write multiple catch blocks under single try block?
What is the primitive type short?
What is meant by Session? Explain something about HTTP Session Class?
What are functions in java?
Why does it take so much time to access an applet having swing components the first time?
Can we catch more than one exception in a single catch block?
Does isempty check for null?