Problem 46565. Find an inscribed square on a closed curve
Solution Stats
Problem Comments
-
1 Comment
Your test suite just checks whether a quadrilateral has equal sides, but that's not enough to form a square: rhombuses also have equal sides. Therefore, the test suite should also check a solution's angles.
PS: A test case filled with rhombuses and a single square on the curve would be instructional too.
Problem Recent Solvers9
Suggested Problems
-
7670 Solvers
-
Number of 1s in the Binary Representation of a Number
386 Solvers
-
950 Solvers
-
Given a window, how many subsets of a vector sum positive
813 Solvers
-
Implement a bubble sort technique and output the number of swaps required
204 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!