摘要:
You are given a string, S, and a list of words, L, that are all of the same length. Find all starting indices of substring(s) in S that is a concatenation of each word in L exactly once and without any intervening characters. 阅读全文
posted @ 2014-06-26 19:40
jdflyfly
阅读(218)
评论(0)
推荐(0)
摘要:
Implement strStr(). 阅读全文
posted @ 2014-06-26 19:35
jdflyfly
阅读(273)
评论(0)
推荐(0)
摘要:
Divide two integers without using multiplication, division and mod operator. 阅读全文
posted @ 2014-06-26 19:34
jdflyfly
阅读(287)
评论(3)
推荐(0)
摘要:
Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. 阅读全文
posted @ 2014-06-26 19:32
jdflyfly
阅读(123)
评论(0)
推荐(0)
摘要:
Given an array and a value, remove all instances of that value in place and return the new length. 阅读全文
posted @ 2014-06-26 19:31
jdflyfly
阅读(145)
评论(0)
推荐(0)
摘要:
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. 阅读全文
posted @ 2014-06-26 19:30
jdflyfly
阅读(205)
评论(0)
推荐(0)
摘要:
Given a linked list, swap every two adjacent nodes and return its head. 阅读全文
posted @ 2014-06-26 19:28
jdflyfly
阅读(155)
评论(0)
推荐(0)
摘要:
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity. 阅读全文
posted @ 2014-06-26 19:27
jdflyfly
阅读(168)
评论(0)
推荐(0)
摘要:
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses. 阅读全文
posted @ 2014-06-26 19:26
jdflyfly
阅读(170)
评论(0)
推荐(0)
摘要:
Given a string containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid. 阅读全文
posted @ 2014-06-26 19:24
jdflyfly
阅读(130)
评论(0)
推荐(0)

浙公网安备 33010602011771号