摘要:Details not refined yet..struct Ret{ Ret(TreeNode *p, Mask rm) : pVal(p), m(rm){} TreeNode *pVal; Mask m;};class Solution {public: Ret lca...
阅读全文
01 2015 档案
摘要:- G: a vector of strings, find a pair with max of strlen(a) * strlen(b) 1. O(n*k): get std::bitset() of each string 2. O(nlgn): sort strings by leng...
阅读全文
摘要:[Technical]1. difference btw. realloc() and free(): realloc() simply changes the size of a mem2. More about TCP\IP, its flow control[Behavior]1. be mo...
阅读全文