
算法
iamlinuxasd
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
letcode刷题--two sum
题目描述: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that each input would have exactly one solution, and you may not use t...原创 2019-03-17 22:26:05 · 123 阅读 · 0 评论 -
letcode刷题--add two numbers
题目描述: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and ...原创 2019-03-17 22:42:21 · 181 阅读 · 0 评论 -
玩转数据结构《一》
数组Array: 集合Set: 集合是承载元素的容器; 特点:每个元素只能存在一次 优点:去重 二分搜索树的添加操作add:不能盛放重复元素 是非常好的实现“集合”的底层数据结构 /** * 集合的接口 */ public interface Set<E> { void add(E e);//添加 <——<不能添加重复元素 ...原创 2019-05-09 19:21:24 · 211 阅读 · 0 评论