18. 四数之和


#!/usr/bin/env python
# -*- coding:utf-8 -*-
#思路三数之和,先排序,只不过三数之和是固定一个数字然后左右双针查找后面的两数
# 而本体也是先排序, 先for循环固定一个数,然后按三数之和来

Author: Lic
Reprint policy: All articles in this blog are used except for special statements CC BY 4.0 reprint policy. If reproduced, please indicate source Lic !
  TOC