摘要: class Solution {public: string longestCommonPrefix(vector &strs) { int size = strs.size(); if(size==0) return ""; ... 阅读全文
posted @ 2014-06-04 15:04 海滨银枪小霸王 阅读(104) 评论(0) 推荐(0) 编辑
摘要: class Solution {public: int atoi(const char *str) { bool negative = false; while(*str==' ')str++ ; if(*str=='-') ... 阅读全文
posted @ 2014-06-04 11:57 海滨银枪小霸王 阅读(110) 评论(0) 推荐(0) 编辑