【LC1840】
https://leetcode.com/problems/maximum-building-height/discuss/1175047/PythonC%2B%2B-greedy-solution-with-visual-explanation-O(MlogM)
↑这道题写的比好太多。
【Two Passes】链接汇总
最新推荐文章于 2024-04-25 15:22:53 发布
【LC1840】
https://leetcode.com/problems/maximum-building-height/discuss/1175047/PythonC%2B%2B-greedy-solution-with-visual-explanation-O(MlogM)
↑这道题写的比好太多。