随笔分类 -  leetcoding

从尾到头打印链表
摘要:#include "stdafx.h"#include <string>using namespace std;#include <vector>#include <stack>typedef struct tag_listnode{ int data; struct tag_listnode *n 阅读全文

posted @ 2020-04-18 21:00 心中日月007 阅读(129) 评论(0) 推荐(0)

查找第一个只出现一次的字符
摘要:#include "stdafx.h"#include <string>using namespace std;#include <vector>#include <map>class Solution{public: int find_right_char(string str) { int st 阅读全文

posted @ 2020-04-14 23:04 心中日月007 阅读(129) 评论(0) 推荐(0)