public static void main(String args[]) {
        int[][] grid = {{1,1,1,1,1,0},{0,0,0,0,0,1},{0,1,1,0,0,1},{1,0,0,1,0,1},{1,0,1,0,0,1},{1,0,0,0,0,1},{0,1,1,1,1,0}};
        int[][] grid1 = {{1,1},{0,1}};
        ShortestDistanceFromAllBuildings shortestDistanceFromAllBuildings = new ShortestDistanceFromAllBuildings();
        System.out.println(shortestDistanceFromAllBuildings.shortestDistance(grid));
    }
Date 03/25/2016
@author Tushar Roy

Shortest Distance from All Buildings
https://leetcode.com/problems/shortest-distance-from-all-buildings/
src/com/interview/multiarray/ShortestDistanceFromAllBuildings.java