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 difference between core java and java ee?

0 Answers  


What methodology can be utilized to link to a database?

0 Answers  


What are the 4 versions of java?

0 Answers  


Where is const variable stored?

0 Answers  


Can a constructor call another constructor?

0 Answers  


What is the purpose of finalization in java programming?

0 Answers  


What is the difference between jdk and jre?

0 Answers  


what is unreachable code problem in multiple catch statements

3 Answers  


Does sprintf allocate memory?

0 Answers  


What are keywords and reserved words in java?

0 Answers  


Difference between JVM and JRE?

3 Answers   Amdocs,


Explain the hierarchy of java exception classes?

0 Answers  


Categories