摘要: From 剑指Offer 何海涛 著#include struct ListNode { int m_nValue; ListNode *m_pNext;};ListNode* findKthToTail(ListNode *head, unsigned int k) { List... 阅读全文
posted @ 2015-04-18 23:19 long#long 阅读(127) 评论(0) 推荐(0) 编辑
摘要: From 剑指Offer 何海涛 著#include #include #include bool g_valid = false;int StrToInt(const std::string& s) { long long res = 0ll; int n = s.size(); ... 阅读全文
posted @ 2015-04-18 22:38 long#long 阅读(355) 评论(0) 推荐(0) 编辑