摘要: Given the coordinates of four points in 2D space, return whether the four points could construct a square. The coordinate (x,y) of a point is represen 阅读全文
posted @ 2017-12-30 05:31 逸朵 阅读(114) 评论(0) 推荐(0)
摘要: Given a binary tree where every node has a unique value, and a target key k, find the value of the nearest leaf node to target k in the tree. Here, ne 阅读全文
posted @ 2017-12-30 01:06 逸朵 阅读(185) 评论(0) 推荐(0)