码迷,mamicode.com
首页 >  
搜索关键字:which    ( 9148个结果
Nullable不是泛型类, 但方法可以是泛型的;
注意where限制,防止用户输入struct或其它primitive类型 ...
分类:其他好文   时间:2020-03-02 09:14:50    阅读次数:87
ArrayList与LinkedList
ArrayList和LinkedList都是实现了List接口的容器类,用于存储一些列引用对象。只观察功能,它们都可以对元素进行增删改查操作,那它们的区别有哪些呢?下面来说一下 实现原理 ArrayList是基于数组结构实现的,LinkedList是基于链表结构实现的。 ArrayList的源码: ...
分类:其他好文   时间:2020-03-02 01:04:42    阅读次数:89
PAT Advanced 1146 Topological Order (25) [拓扑排序]
题目 This is a problem given in the Graduate Entrance Exam in 2018: Which of the following is NOT a topological order obtained from the given directed g ...
分类:编程语言   时间:2020-03-01 20:12:25    阅读次数:90
取消Git每次拉取、提交推送都要输入密码
原因:在初始化配置Git用户信息时,设置了用户密码 解决方式:重置用户密码,并设置为空 $ ssh-keygen -p Enter file in which the key is (/c/Users/xxx/.ssh/id_rsa): (直接Enter)Enter old passphrase:( ...
分类:其他好文   时间:2020-03-01 10:43:43    阅读次数:126
108. Convert Sorted Array to Binary Search [Python]
108. Convert Sorted Array to Binary Search Given an array where elements are sorted in ascending order, convert it to a height balanced BST. For this ...
分类:编程语言   时间:2020-02-29 22:03:51    阅读次数:78
PAT Advanced 1126 Eulerian Path (25) [连通图,欧拉路径,欧拉回路,欧拉图]
题目 In graph theory, an Eulerian path is a path in a graph which visits every edge exactly once. Similarly, an Eulerian circuit is an Eulerian path whi ...
分类:其他好文   时间:2020-02-29 20:51:39    阅读次数:104
CS 2033 Multimedia and Communications
CS 2033Multimedia and Communications IIAssignment 2Hometown WebpageOverviewThe city in which you grew up, or lived for a significant period of time, i ...
分类:其他好文   时间:2020-02-29 18:47:42    阅读次数:71
LeetCode 1056. Confusing Number
原题链接在这里:https://leetcode.com/problems/confusing-number/ 题目: Given a number N, return true if and only if it is a confusing number, which satisfies the ...
分类:其他好文   时间:2020-02-29 13:10:38    阅读次数:42
[LeetCode] 340. Longest Substring with At Most K Distinct Characters
最多有K个不同字符的最长子串。题意就不解释了,参见159题。例子, Example 1: Input: s = "eceba", k = 2 Output: 3 Explanation: T is "ece" which its length is 3. Example 2: Input: s = ...
分类:其他好文   时间:2020-02-28 15:37:15    阅读次数:51
[LeetCode] 159. Longest Substring with At Most Two Distinct Characters
最多有两个不同字符的最长子串。题意是给一个字符串,请返回一个最长子串的长度。子串的要求是最多只有两个不同的字母。例子, Example 1: Input: "eceba" Output: 3 Explanation: tis "ece" which its length is 3. Example ...
分类:其他好文   时间:2020-02-28 13:52:03    阅读次数:68
9148条   上一页 1 ... 36 37 38 39 40 ... 915 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!