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 largest long allowed by java?
Can an object subclass another object?
Are private methods final?
What is a buffer in computer?
Is void a return type?
Is array synchronized in java?
Explain the importance of finalize() method.
How to find the length and capacity of a string buffer ?
Do I need to import java.lang package any time? Why?
What is the difference between access specifiers and access modifiers in java? 16
Can a final method be overloaded?
What is the hashcode () and equals () used for?