You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 3 Current »
https://leetcode.cn/problems/valid-square/description/
个人思路:4个点构造为6条边,其中4条边相等,另外两条按照直角三角形可计算长度是否匹配