C++
edjoker2
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
遍历string时 使用for(char& c : s) for(char c : s) 的区别
一道Leetcode上的题目: Given a string containing just the characters ‘(‘, ‘)’, ‘{‘, ‘}’, ‘[’ and ‘]’, determine if the input string is valid. The brackets must close in the correct order, “()” an...原创 2018-02-27 09:01:51 · 15662 阅读 · 1 评论 -
利用双重指针来实现单向链表的节点交换
一道Leetcode中的题: Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should return the list as 2->1->4->3. Your algo...原创 2018-04-02 08:53:31 · 356 阅读 · 0 评论
分享