mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-04 16:12:47 +08:00
6 lines
70 B
Go
6 lines
70 B
Go
package leetcode
|
|
|
|
func minOperations(n int) int {
|
|
return n * n / 4
|
|
}
|