摘要:
原文链接:https://www.cnblogs.com/inception6-lxc/p/8996050.html 在看书的时候有个往链表里添加节点的函数,代码中考虑到可能给出的头指针为空,并做另外一些处理。具体代码如下: [cpp] view plain copy print? #include 阅读全文
摘要:
代码: #include<iostream>#include<string> using namespace std; class Solution{public: string ReplaceBlank(string s) { int count=0; int len = s.size(); fo 阅读全文