摘要:
[抄题]: he set S originally contains numbers from 1 to n. But unfortunately, due to the data error, one of the numbers in the set got duplicated to anot 阅读全文
posted @ 2018-04-25 21:59
苗妙苗
阅读(159)
评论(0)
推荐(0)
摘要:
[抄题]: Given a string which consists of lowercase or uppercase letters, find the length of the longest palindromes that can be built with those letters 阅读全文
posted @ 2018-04-25 21:06
苗妙苗
阅读(105)
评论(0)
推荐(0)
摘要:
[抄题]: Given a string, determine if a permutation of the string could form a palindrome. For example,"code" -> False, "aab" -> True, "carerac" -> True. 阅读全文
posted @ 2018-04-25 16:32
苗妙苗
阅读(81)
评论(0)
推荐(0)
摘要:
[抄题]: Given n points in the plane that are all pairwise distinct, a "boomerang" is a tuple of points (i, j, k) such that the distance between i and j 阅读全文
posted @ 2018-04-25 15:47
苗妙苗
阅读(133)
评论(0)
推荐(0)