摘要: Problem statement: Given a string representing an expression of fraction addition and subtraction, you need to return the calculation result in string 阅读全文
posted @ 2017-05-22 05:02 蓝色地中海 阅读(218) 评论(0) 推荐(0)
摘要: Problem statement: Given the coordinates of four points in 2D space, return whether the four points could construct a square. The coordinate (x,y) of 阅读全文
posted @ 2017-05-22 03:32 蓝色地中海 阅读(205) 评论(0) 推荐(0)
摘要: Problem statement: We define a harmonious array is an array where the difference between its maximum value and its minimum value is exactly 1. Now, gi 阅读全文
posted @ 2017-05-22 03:02 蓝色地中海 阅读(889) 评论(0) 推荐(0)