The correct answer is not really defined for x = 1, that is a one-sided polygon.
The test cases are insufficient.
Arrange vector in ascending order
624 Solvers
484 Solvers
372 Solvers
07 - Common functions and indexing 5
314 Solvers
177 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!