-
LeetCode 面试题03. 数组中重复的数字
LeetCode 面试题03. 数组中重复的数字 我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题03. 数组中重复的数字 题目 找出数组中重复的数字。 在一个长度为 n 的数组 nums 里...
-
LeetCode 3. 无重复字符的最长子串
LeetCode 3. 无重复字符的最长子串 我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 3. 无重复字符的最长子串 题目 给定一个字符串,请你找出其中不含有重复字符的__最长子串__的...
-
LeetCode 191. 位1的个数
LeetCode 191. 位1的个数 我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 191. 位1的个数 题目 编写一个函数,输入是一个无符号整数,返回其二进制表达式中数字位数为 ‘1’?的...
-
Java阻塞队列四组API介绍
Java阻塞队列四组API介绍 Java阻塞队列四组API介绍 通过前面几篇文章的学习,我们已经知道了Java中的队列分为阻塞队列和非阻塞队列以及常用的七个阻塞队列。如下图: 本文来源:凯哥Java(kaigejava)讲解Java并发系列之阻塞队列教程。系列文章,欢迎大家从第一篇文章开...
-
LeetCode 343. 整数拆分
LeetCode 343. 整数拆分 我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 343. 整数拆分 与以下题目相同 前往:LeetCode 面试题14- II. 剪绳子 II...
-
LeetCode 面试题14- I. 剪绳子
LeetCode 面试题14- I. 剪绳子 我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题14- I. 剪绳子 与以下题目相同 前往:LeetCode 面试题14- II. 剪绳子 II...
-
LeetCode 面试题14- II. 剪绳子 II
LeetCode 面试题14- II. 剪绳子 II 我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 面试题14- II. 剪绳子 II 题目 给你一根长度为 n 的绳子,请把绳子剪成整数长度的 m 段(m、n...
-
synchronized内置锁原理
synchronized内置锁原理 前言 并发编程是java中不可或缺的模块。与串行程序相比,它们能使复杂的异步代码变得简单,从而极大地简化了复杂系统的开发。此外,想要充分发挥多处理器系统的强大计算能力,最简单的方式就是使用线程。随着处理器数量的持续增长,如何高效地...
-
LeetCode 202. 快乐数
LeetCode 202. 快乐数 我的LeetCode:https://leetcode-cn.com/u/ituring/ 我的LeetCode刷题源码[GitHub]:https://github.com/izhoujie/Algorithmcii LeetCode 202. 快乐数 题目 编写一个算法来判断一个数 n 是不是快乐数。 「快乐数」定义为:对于一个正整数,每一次...
-
StringBuilder、StringBuffer分析比较
StringBuilder、StringBuffer分析比较 StringBuilder、StringBuffer源码分析 StringBuilder源码分析 类结构 public final class StringBuilder extends AbstractStringBuilder implements java.io.Serializable, CharSequence StringBuilder使用final关键字修饰,和Str...
IDC资讯: 主机资讯 注册资讯 托管资讯 vps资讯 网站建设
网站运营: 建站经验 策划盈利 搜索优化 网站推广 免费资源
网络编程: Asp.Net编程 Asp编程 Php编程 Xml编程 Access Mssql Mysql 其它
服务器技术: Web服务器 Ftp服务器 Mail服务器 Dns服务器 安全防护
软件技巧: 其它软件 Word Excel Powerpoint Ghost Vista QQ空间 QQ FlashGet 迅雷
网页制作: FrontPages Dreamweaver Javascript css photoshop fireworks Flash
