Leetcode 1168. Optimize Water Distribution in a Village | Hello Interview