You're given a Boolean 2D matrix, can you find the number of islands?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Core Java Interview Questions

Can You Have Virtual Functions In Java?

0 Answers  


What’s the difference between callable and runnable?

0 Answers  


What are java annotations?

0 Answers  


What is flag in java?

0 Answers  


what is the main differene between synchronize() method and Synchronize{}block?

1 Answers   3i Infotech,






Default layout of panel and frame?

3 Answers  


What happens if we don’t define serial version uid?

0 Answers  


Can we have multiple classes in single file ?

0 Answers  


What is the use of beaninfo?

0 Answers  


What are drawbacks of singleton class?

0 Answers  


Explain about serializable interface in java?

0 Answers  


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.

0 Answers  


Categories