The correct answer is not really defined for x = 1, that is a one-sided polygon.
The test cases are insufficient.
Determine Whether an array is empty
646 Solvers
338 Solvers
505 Solvers
343 Solvers
07 - Common functions and indexing 2
316 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!