An apple tree is planted at every integer coordinate
You are given an integer neededApples, representing the minimum total number of apples you need to collect. You want to purchase an axis aligned square plot of land centered at the origin neededApples.
Return the minimum perimeter of a square plot of land that satisfies this condition.
Constraints:
neededApples
An apple tree is planted at every integer coordinate
You are given an integer neededApples, representing the minimum total number of apples you need to collect. You want to purchase an axis aligned square plot of land centered at the origin neededApples.
Return the minimum perimeter of a square plot of land that satisfies this condition.
Constraints:
neededApples