摘要:
given a string ,return the longest substring that contains at most twocharacters.extern "C" char *SubStringWithAtMost2Chars(char * pStr, int len){ ... 阅读全文
摘要:
《编程之美》里的一个题目:能否快速找出一个数组中的两个数字,让这两个数字之和等于一个给定的值,假设这个数组中肯定存在至少一组符合要求的解。 LeetCode的题目: Given an array of integers, find two numbers such that they add up to a specific target number. The function twoSum ... 阅读全文
摘要:
问题Given an input string, reverse the string word by word.For example, Given s = "the sky is blue", return "blue is sky the".面试时我应该至少问的问题What constitut... 阅读全文