绿叶萌飞
绿叶萌飞
全部文章
分类
Android(41)
Android Studio(13)
eclipse(1)
javascript(1)
java基础(19)
java并发编程(1)
JVM(2)
leetcode(11)
linux命令行(译文)(38)
MySQL(1)
PTA(8)
个人js代码笔记——不详细解释(10)
其他(1)
周记随笔(7)
多线程(2)
我的android学习笔记(22)
数据结构与算法(85)
编程时光(5)
编程语言(20)
蓝桥杯(5)
计算机常用基础(1)
计算机网络(9)
迁移牛客网说明(1)
归档
标签
去牛客网
登录
/
注册
新手lcy
博客见这里https://liuchenyang0515.blog.csdn.net
全部文章
(共304篇)
572. Subtree of Another Tree(另一个树的子树)
题目地址:https://leetcode.com/problems/subtree-of-another-tree/description/ Given two non-empty binary trees s and t, check whether tree t has exactly th...
2020-01-01
0
528
你真的了解android的layout_weight属性吗?
如下代码所示,会出现什么现象? <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" ...
2020-01-01
0
730
Android Studio快速自动生成findViewById
首先,Ctrl + Alt +S,打开settings 找到plugins,点击Browse repositories... 在搜索框中输入findViewByMe,找到它并安装 重启Android studio 在写好的xml文件 中,右击找到findViewByMe(记住是在xml文...
2020-01-01
0
801
541. Reverse String II(反转字符串 II)
题目地址:https://leetcode.com/problems/reverse-string-ii/description/ Given a string and an integer k, you need to reverse the first k characters for eve...
2020-01-01
0
636
Android Studio的代码没错,运行时logcat会出现红色语句解决方法
不断的运行调试某一个项目,点击之后logcat会出现想不到的红色语句,或者切换项目打开出现R文件报红。 解决方法: 点击Build----Clean Project 再次调试发现没有红色语句,Error没有语句了,解决! ====================Talk is c...
2020-01-01
0
442
构造器里面的super()有什么用?到底写不写?
平时写的单独一个类如果没有直接继承父类就是直接继承的Object,有父类就是间接继承的Object,因为父类会继承Object,java的所有类都是Object的子类,哪怕不写super(),也会默认调用的父类的空构造器。 接下来举个例子 class A{ public A() { ...
2020-01-01
0
460
290. Word Pattern(单词模式)(Integer的坑)
题目地址:https://leetcode.com/problems/word-pattern/description/ Given a pattern and a string str, find if str follows the same pattern. Here follow mea...
2020-01-01
0
560
关于按位取反~和负数的二进制输出问题
public class test { public static void main(String[] args) { short a = (short) 0; System.out.println(~a); } } 结果输出 -1 分析:a=0x0...
2020-01-01
0
474
144. Binary Tree Preorder Traversal(二叉树的前序遍历)
题目地址:https://leetcode.com/problems/binary-tree-preorder-traversal/description/ Given a binary tree, return the preorder traversal of its nodes' value...
2020-01-01
0
478
IO流异常标准处理代码(示范JDK1.7版本之前和JDK1.7版本的标准)
代码如下:以字节流为例(CSDN网站最大的bug就是很多模版不能写null,无法显示,为了显示这里用c++模版代替java模版) import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.IOExc...
2020-01-01
0
538
首页
上一页
3
4
5
6
7
8
9
10
11
12
下一页
末页