摘要:
int lengthOfLastWord(const char *s) { // Note: The Solution object is instantiated only once and is reused by each test case. const char* cur = s, *pStart; while(*cur==' ') //skip white space cur++; if(*cur=='\0') return 0; pStart = cur; ... 阅读全文
posted @ 2013-10-21 22:07
summer_zhou
阅读(103)
评论(0)
推荐(0)
浙公网安备 33010602011771号