pull/10/head
chefyuan 2021-04-24 15:37:24 +08:00
parent 64a63df5ca
commit de5ba98dab
2 changed files with 21 additions and 21 deletions

View File

@ -1,25 +1,25 @@
# algorithm-base
### 使
# **algorithm-base**
### **使**
****
****
****
**使**
使
****
****
****
****
****
****
@ -27,19 +27,19 @@
** [tan45du_one](https://raw.githubusercontent.com/tan45du/tan45du.github.io/master/个人微信.15egrcgqd94w.jpg) ,备注 github + 题目 + 问题 向我反馈**
star
** star **
**[](https://mp.weixin.qq.com/s/fTMzLrv5Ou2Xf3_br80J0g),可以先按这个顺序刷,刷完之后应该就能入门了。**
> ** **
>
> ****
**[]()**
****
**https://pan.baidu.com/s/1gNIhOv83ZMxDEEFXLWChuA 提取码chef**
> **[](https://pan.baidu.com/s/1xiCHAbX7HSGyE9yX5KPvJA ) 提取码jrnb**
** [](https://cdn.jsdelivr.net/gh/tan45du/photobed@master/微信图片_20210320152235.2c1f5hy6gmas.png)两个平台同步,想要和题友一起刷题,互相监督的同学,可以在我的小屋点击<u>[刷题小队](https://raw.githubusercontent.com/tan45du/test/master/微信图片_20210320152235.2pthdebvh1c0.png)</u>进入。**
**西 [](https://www.zhihu.com/people/suan-fa-ji-di)**
[](https://cdn.jsdelivr.net/gh/tan45du/photobed@master/微信图片_20210320152235.2c1f5hy6gmas.png)两个平台同步,**想要和题友一起刷题,互相监督**的同学,可以在我的小屋点击<u>[刷题小队](https://raw.githubusercontent.com/tan45du/test/master/微信图片_20210320152235.2pthdebvh1c0.png)</u>进入,不过来的时候要记得备注。
<div align="center"> <img src="https://cdn.jsdelivr.net/gh/tan45du/photobed@master/微信图片_20210320152235.2c1f5hy6gmas.png" width = "150px" hight = "150px"/> </div>

View File

@ -229,7 +229,7 @@ HashMap<Integer,Integer> map = new HashMap<Integer,Integer>();
hashmap
```
```java
for (int num : arr){
map.put(num, map.getOrDefault(num, 0) + 1);//如果没有则添加如果有则加1
}