摘要:
Find the length of the longest substring T of a given string (consists of lowercase letters only) such that every character in T appears no less than 阅读全文
posted @ 2016-09-09 14:21
LiBlog
阅读(312)
评论(0)
推荐(0)
摘要:
Given a non-empty string str and an integer k, rearrange the string such that the same characters are at least distance k from each other. All input s 阅读全文
posted @ 2016-09-09 13:02
LiBlog
阅读(224)
评论(0)
推荐(0)
摘要:
According to the Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John 阅读全文
posted @ 2016-09-09 08:30
LiBlog
阅读(197)
评论(0)
推荐(0)
摘要:
You are given a m x n 2D grid initialized with these three possible values. Fill each empty room with the distance to its nearest gate. If it is impos 阅读全文
posted @ 2016-09-09 08:26
LiBlog
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号