2018年12月9日

91. Decode Ways 解码方法

摘要: A message containing letters from A-Z is being encoded to numbers using the following mapping: Given an encoded message containing digits, determine t 阅读全文

posted @ 2018-12-09 15:07 平凡的小石头 阅读(127) 评论(0) 推荐(0) 编辑

2018年12月5日

73. Set Matrix Zeroes 矩阵赋零

摘要: Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use extra sp 阅读全文

posted @ 2018-12-05 01:21 平凡的小石头 阅读(156) 评论(0) 推荐(0) 编辑

leetcode题目汇总

摘要: 73. Set Matrix Zeroes 矩阵赋零 91. Decode Ways 解码方法 227. Basic Calculator II 基本计算器之二 阅读全文

posted @ 2018-12-05 01:03 平凡的小石头 阅读(146) 评论(0) 推荐(0) 编辑

2018年12月3日

leetcode 227. Basic Calculator II 基本计算器之二

摘要: 227. Basic Calculator II Implement a basic calculator to evaluate a simple expression string. The expression string contains only non-negative integer 阅读全文

posted @ 2018-12-03 15:23 平凡的小石头 阅读(229) 评论(0) 推荐(0) 编辑

2018年10月26日

leetcode贪心算法相关题目

摘要: 561. Array Partition I 45. Jump Game II 阅读全文

posted @ 2018-10-26 09:58 平凡的小石头 阅读(443) 评论(0) 推荐(0) 编辑

2018年10月22日

leetcode 全排列相关题目

摘要: Problem46 permutation Problem47 permutation2 Problem60 permutation sequence Problem31 next permutation Problem78 subsets Problem90 subsets2 Problem77 阅读全文

posted @ 2018-10-22 21:03 平凡的小石头 阅读(153) 评论(0) 推荐(0) 编辑

2018年10月15日

一些值得收藏的知识点

摘要: 深入理解Java中的String https://www.cnblogs.com/xiaoxi/p/6036701.html https://blog.csdn.net/chen1280436393/article/details/51768609 https://www.cnblogs.com/t 阅读全文

posted @ 2018-10-15 10:25 平凡的小石头 阅读(77) 评论(0) 推荐(0) 编辑

2018年8月7日

虚拟机类加载机制

摘要: 虚拟机类加载机制 类加载的时机 类从被加载到虚拟机内存中开始,到卸载出内存为止,它的整个生命周期包括:加载(Loading)、 验证(Verification)、 准备(Preparation)、 解析(Resolution)、 初始化(Initialization)、 使用(Using)和卸载(U 阅读全文

posted @ 2018-08-07 19:16 平凡的小石头 阅读(116) 评论(0) 推荐(0) 编辑

2018年8月5日

晚期(运行期)优化

摘要: 晚期(运行期)优化 概述 当虚拟机发现某个方法或代码块的运行特别频繁时,就会把这些代码认定为“热点代码”(Hot Spot Code)。 为了提高热点代码的执行效率,在运行时,虚拟机将会把这些代码编译成与本地平台相关的机器码,并进行各种层次的优化,完成这个任务的编译器称为即时编译器(Just In 阅读全文

posted @ 2018-08-05 18:31 平凡的小石头 阅读(368) 评论(0) 推荐(0) 编辑

2018年8月2日

编译器早期优化

摘要: 1 概述 Java语言的“编译期”其实是一段“不确定”的操作过程,因为它可能是指一个前端编译器把*.java文件转变成*.class文件的过程;也可能是指虚拟机的后端运行期编译器(JIT编译器,Just In Time Compiler)把字节码转变成机器码的过程;还可能是指使用静态提前编译器(AO 阅读全文

posted @ 2018-08-02 18:35 平凡的小石头 阅读(128) 评论(0) 推荐(0) 编辑

导航