摘要:
Given a string, we can "shift" each of its letter to its successive letter, for example:"abc" -> "bcd". We can keep "shifting" which forms the sequenc... 阅读全文
posted @ 2015-12-25 06:54
Hygeia
阅读(183)
评论(0)
推荐(0)
摘要:
这也能算hard题……Given a string, find the length of the longest substring T that contains at most 2 distinct characters.For example, Given s =“eceba”,T is "... 阅读全文
posted @ 2015-12-25 05:37
Hygeia
阅读(125)
评论(0)
推荐(0)
摘要:
Given twosparse matricesAandB, return the result ofAB.You may assume thatA's column number is equal toB's row number.Example:A = [ [ 1, 0, 0], [-1, ... 阅读全文
posted @ 2015-12-25 04:54
Hygeia
阅读(134)
评论(0)
推荐(0)

浙公网安备 33010602011771号