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 difference between core java and java ee?
What methodology can be utilized to link to a database?
What are the 4 versions of java?
Where is const variable stored?
Can a constructor call another constructor?
What is the purpose of finalization in java programming?
What is the difference between jdk and jre?
what is unreachable code problem in multiple catch statements
Does sprintf allocate memory?
What are keywords and reserved words in java?
Difference between JVM and JRE?
Explain the hierarchy of java exception classes?