Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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
&#61607; White will have 1 Weight.
&#61607; Red and Green carry no weights.
&#61607; 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

Post New Answer

More Core Java Interview Questions

What Is Resource Leak?

2 Answers  


What is an example of character?

0 Answers  


How does enum work in java?

0 Answers  


Does treeset allow null in java?

0 Answers  


What do you mean by Hash Map and Hash Table?

0 Answers   Atos Origin,


Give an example of call be reference significance.

0 Answers   Agilent,


What is meant by method?

0 Answers  


What does .equals do in java?

0 Answers  


How concurrent hashmap works?

0 Answers  


C and C++ has constructors and distructors, why does Java does not have distructors?

1 Answers   T3 Softwares,


What does pointer mean?

0 Answers  


What is keyset in java?

0 Answers  


Categories