Problem 2220. Wayfinding 3 - passed areas
Solution Stats
Problem Comments
-
4 Comments
Apparently, there was a problem with my test suite. Unfortunately, the test-suite checker in the cody problem entrance form is not working at this moment. So I found out too late.
does the test suite clear the previous data? I get troubles in my computer if I do not clear previous polygons before testing last one.
please consider breaking the testsuite into multiple tests to avoid the "clear F" issue (and to make debugging simpler)
The problem's figure is missing. We can imagine one line segment crossing several simple polygons, which can intersect on edges or vertices. The order that we must return is the order in which each polygon is entered. If the same polygon is entered twice, it must appear two times at the output.
Solution Comments
-
1 Comment
Bravo, for the one-liner!
Problem Recent Solvers12
Suggested Problems
-
1527 Solvers
-
Removing rows from a matrix is easy - but what about inserting rows?
161 Solvers
-
Make a vector of prime numbers
376 Solvers
-
convert matrix to single column
377 Solvers
-
21 Solvers
More from this Author31
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!