Javascript program to find best meeting point in 2D array
let ROW = 3 ; let COL = 5 ; function minTotalDistance ( grid ) { if ( ROW == 0 COL == 0 ) return 0 ; let vertical = [ ] ; let horizontal = [ ] ;