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 Resource Leak?
What is an example of character?
How does enum work in java?
Does treeset allow null in java?
What do you mean by Hash Map and Hash Table?
Give an example of call be reference significance.
What is meant by method?
What does .equals do in java?
How concurrent hashmap works?
C and C++ has constructors and distructors, why does Java does not have distructors?
What does pointer mean?
What is keyset in java?