📈
notes
More
Search
Ctrl + K
Solution1 枚举
时间复杂度 O(n)
空间复杂度 O(1)
l 从 sqrt(area) 开始递增枚举,w 为 area / l 整除的数
Previous
0492_Construct_the_Rectangle
Next
0493_Reverse_Pairs
Last updated
3 years ago