![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
leetCode
哒了个哒的小马蹄
铁路数据处理专家
展开
-
3sum问题解决方案
题目描述: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero. Note: The solution set must not con原创 2017-09-10 19:32:08 · 668 阅读 · 0 评论 -
20.有效括号判断
关于栈的问题,可以定义一个数组,一个指向尾端下标的index,来完成后进先出的操作。又快,占用内存又少。 需要补充的知识:C++ queue用法、STL用法以及迭代用法,string用法 ...原创 2019-08-10 18:54:09 · 175 阅读 · 0 评论