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
Why super is first line in java?
What is the static field modifier?
Can we call thread start () twice?
What is a numeric literal?
what are abstract functions?
how to run servlet program between two computer through the internet ?
2 Answers Kiran Prakashan, TCS,
Which programming language is most secure?
Differentiate between run time error and syntax error.
What is used of static keyword in java?
What is the reason behind using constructors and destructors?
What is the do while loop syntax?
What is meant by class and object in java?