You have given a matrix of 0s and 1s where 0 represent home and 1 represent hospital, you need to return edge distance matrix with shortest distance of each houses to the nearest hospital.
Answers
Answered by
1
Answer:
1a matrix is the roght answee
Similar questions