PayU Interview Question

Dsa problem Maximize the minimum Powered city