摘要: 1 #define _for(i,a,b) for(int i = (a);i rnt; 6 void dfs(int N,int K,int h,string s) 7 { 8 if(h==N) 9 { 10 stringstream ss; 11 ... 阅读全文
posted @ 2018-12-30 16:08 Asurudo 阅读(284) 评论(0) 推荐(0) 编辑
摘要: 1 class Solution 2 { 3 public: 4 bool PreOrderTraverse (TreeNode* T,int data) 5 { 6 if(T) 7 { 8 if(T->val!=data) 9 ... 阅读全文
posted @ 2018-12-30 16:03 Asurudo 阅读(333) 评论(0) 推荐(0) 编辑
摘要: 1 #define _for(i,a,b) for(int i = (a);i spellchecker(vector& wordlist, vector& queries) 6 { 7 vector rnt; 8 set ws; 9 map wxs; 10 map wys... 阅读全文
posted @ 2018-12-30 15:57 Asurudo 阅读(307) 评论(0) 推荐(0) 编辑