摘要:
题目描述:You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a ... 阅读全文
摘要:
题目描述:Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.解题思路:把除数表示为:dividend = 2^i * diviso... 阅读全文
摘要:
题目描述:Implement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack. Update (2014-11-02):... 阅读全文