编程语言
记录在使用各种编程语言时遇到的问题
Katherine121
If you shed tears when you miss the sun, you also miss the stars.
展开
-
【VScode配置c++项目环境】MinGW安装,在VScode上运行c++程序
MinGW安装,在VScode上运行c++程序原创 2022-07-04 22:21:48 · 536 阅读 · 0 评论 -
【HashMap】HashMap特点,结构,底层原理,实现方法,使用方法
HashMap简介原创 2022-07-03 10:45:26 · 325 阅读 · 0 评论 -
【Java】 List<List<Integer>>初始化方法
今天在写力扣的时候遇到了List<List>初始化的问题有两种方法List<List> list = new ArrayList<List>();List<List> list = new ArrayList<>(); //注意没有Integerlist是接口,ArrayList实现了这个接口,所以不能直接new List<List>()...原创 2021-12-02 10:51:20 · 3487 阅读 · 2 评论 -
【Java】字符串一维数组初始化
好久没写Java了,练习leetcode的时候踩了好多坑,记录一下。初始化一维字符串数组有三种方法:String[] strs = new String[5]; //创建一个长度为5的String(字符串)型的一维数组String[] strs = new String[]{"","","","",""}; // strs = new String[] {“1”,“2”,“3”}; // 正确String[] strs = {"","","","",""}; // strs = {“1”,“2”,原创 2021-11-30 22:58:08 · 6365 阅读 · 0 评论