Read the question here: https://leetcode.com/problems/minimum-cost-to-make-array-equal/description/ Let the final array be [k, k, k, k, ...] (all the elements being equal to k) k has to be in the range between min(nums) and max(nums) If we can try ...
Cloud Enthusiast | Full Stack Developer
Backend engineer experienced in critical software for Entertainment, Gaming, and Health-care. Skilled in Python, Go, and Docker. Has contributed to open-source and presented at PyCons. Currently a SWE-III @ Google Cloud, tackling challenges in high-traffic systems.
Markdown supported · ⌘↵ to post
No responses yet.