摘要: Given a list of points that form a polygon when joined sequentially, find if this polygon is convex (Convex polygon definition). 阅读全文
posted @ 2020-01-30 23:38 Sheanne 阅读(234) 评论(0) 推荐(0)
摘要: Consider the string s to be the infinite wraparound string of "abcdefghijklmnopqrstuvwxyz", so s will look like this: "...zabcdefghijklmnopqrstuvwxyza 阅读全文
posted @ 2020-01-30 04:22 Sheanne 阅读(158) 评论(0) 推荐(0)
摘要: Define S = [s,n] as the string S which consists of n connected strings s. For example, ["abc", 3] ="abcabcabc". On the other hand, we define that stri 阅读全文
posted @ 2020-01-30 03:29 Sheanne 阅读(140) 评论(0) 推荐(0)