0317: Shortest Distance from All Buildings

Problem Statement