Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

https://leetcode.cn/problems/valid-square/description/

Image Added

个人思路:4个点构造为6条边,其中4条边相等,另外两条按照直角三角形可计算长度是否匹配Image Added

Image Added