Given a string s, find the length of the longest substring without repeating characters. Input: s = "abcabcbb"Output: 3Explanation: The answer is "abc ...
分类:
其他好文 时间:
2020-11-08 17:44:10
阅读次数:
26
1 class TreeNode { 2 constructor(key) { 3 this.key = key; 4 this.leftChild = null; 5 this.rightChild = null; 6 this.parent = null; 7 } 8 rightRotate() ...
分类:
Web程序 时间:
2020-11-06 02:45:04
阅读次数:
36
通用属性 android:layout_height android:layout_width 值 含义 fill_parent/match_parent 高度或者宽度对齐到父控件 wrap_content 包围本控件的内容 android:gravity android:layout_gravit ...
分类:
移动开发 时间:
2020-11-06 02:37:43
阅读次数:
28
[root@localhost ~]# virsh undefine vhuser-test1error: Failed to undefine domain vhuser-test1error: Requested operation is not valid: cannot undefine d ...
分类:
其他好文 时间:
2020-11-04 19:04:17
阅读次数:
16
LeetCode 941 有效的山脉数组 https://leetcode-cn.com/problems/valid-mountain-array/ 根据题意可以知道,当一个数组中的最大值在数组的中间某个位置(不能在数组的左右两端)并且这个位置往左边和右边走时数组是严格递减时,该数组才是有效的山脉 ...
分类:
编程语言 时间:
2020-11-04 17:42:49
阅读次数:
19
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" an ...
分类:
移动开发 时间:
2020-11-02 10:06:11
阅读次数:
34
分享是价值的传递,喜欢就点个赞 引言 今天我们继续来深入的剖析类加载器的内容。上节课我们讲了类加载器的基本内容,没看过的小伙伴请加关注。今天我们继续。 什么是定义类加载器和初始化类加载器? 定义类加载器:假设我们的某一个类是由ExtClassLoader加载的,那么ExtClassLoader称为该 ...
分类:
其他好文 时间:
2020-11-01 10:35:29
阅读次数:
12
运行ParentChildTest代码得到的结果是: Parent.printValue(),myValue=100 Child.printValue(),myValue=200 Child.printValue(),myValue=200 Child.printValue(),myValue=20 ...
分类:
其他好文 时间:
2020-11-01 09:30:58
阅读次数:
14
-bash-4.1$ crontab -e Authentication token is no longer valid; new one requiredYou (oracle) are not allowed to access to (crontab) because of pam conf ...
分类:
数据库 时间:
2020-10-31 01:45:57
阅读次数:
28
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:
其他好文 时间:
2020-10-27 11:41:41
阅读次数:
23