摘要: void recursion(char* s,int* returnSize,int* col,int* oodhash,int* evenhash,int pst,int start,int len,char** temp,char*** arr){ if(start==len){ arr[(*r 阅读全文
posted @ 2020-12-20 21:29 温暖了寂寞 阅读(97) 评论(0) 推荐(0) 编辑
摘要: struct Trie { int ch[27]; int val; } trie[50001]; int size, nodeNum; int insert(char* s, int num) { int sSize = strlen(s), add = 0; for (int i = 0; i 阅读全文
posted @ 2020-12-20 10:08 温暖了寂寞 阅读(83) 评论(0) 推荐(0) 编辑
摘要: int sum(struct TreeNode* root, int tmp_sum) { if (root == NULL) return 0; if (root->left == root->right) { return tmp_sum * 10 + root->val; } return s 阅读全文
posted @ 2020-12-20 10:02 温暖了寂寞 阅读(84) 评论(0) 推荐(0) 编辑