Given an array of integers that is already sorted in ascending order, find two numbers such that they add up to a specific target number. The function ...
分类:
其他好文 时间:
2020-07-03 21:49:23
阅读次数:
77
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t ...
分类:
其他好文 时间:
2020-07-03 21:48:09
阅读次数:
68
安装pandas 通过python pip安装pandas pip install pandas pandas数据结构 pandas常用数据结构包括:Series和DataFrame Series Series是一种一维的数组型对象,包含一个值序列(与numpy中的数据类型相似),数据标签(称为索引 ...
分类:
其他好文 时间:
2020-07-03 21:45:40
阅读次数:
55
需要掌握的知识点: 用于操作字符串的String类和StringBuffer、StringBuilder类 用于操作日期的Date类 用于进行常见数学运算的Math类 用于数组操作的Arrays类 基本数据类型的封装:8个包装类 java.lang 是个系统的基础类,比如String,Math,In ...
分类:
编程语言 时间:
2020-07-03 21:36:00
阅读次数:
67
各种指针的含义: int *hoge hoge是指向int的指针 int *hoge[] hoge是指向int的指针的数组 int (*hoge)[] hoge是指向int型数组的指针 int (*func)(int ) func是指向返回int 参数为int的函数的指针 int (*func_ta ...
分类:
编程语言 时间:
2020-07-03 21:34:25
阅读次数:
55
首先总结一下集合的体系: 集合 的体系: | Collection 单例集合的根接口 | List 如果是实现了List接口的集合类,具备的特点: 有序,可重复。 | ArrayList 底层是维护了一个Object数组实现的。 特点: 查询速度快,增删慢。 | LinkedList 底层是使用了链 ...
分类:
编程语言 时间:
2020-07-03 21:18:09
阅读次数:
60
Given an array A of integers, return true if and only if we can partition the array into three non-empty parts with equal sums. Formally, we can parti ...
分类:
其他好文 时间:
2020-07-03 21:13:36
阅读次数:
57
Java中String类、Static关键字、Array类、Math类的一些见解 ...
分类:
其他好文 时间:
2020-07-03 21:12:08
阅读次数:
58
首先总结一下集合的体系: 集合 的体系: | Collection 单例集合的根接口 | List 如果是实现了List接口的集合类,具备的特点: 有序,可重复。 | ArrayList 底层是维护了一个Object数组实现的。 特点: 查询速度快,增删慢。 | LinkedList 底层是使用了链 ...
分类:
编程语言 时间:
2020-07-03 21:09:55
阅读次数:
55
350th 两个数组的交集 II 利用指针思想 针对有序的数组,利用指针思想,分别为nums1, nums2数组指定指针i与j。因为数组是有序的,所以在两个指针同时便利两个数组时只会出现三种情况,分别解决它们即可。 这里因为不知道最后它们的交集合长度是多少故易联想到使用List动态添加元素,最后将其 ...
分类:
编程语言 时间:
2020-07-03 21:07:40
阅读次数:
44