Loading

上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页
摘要: 对于 Java 开发工程师来说,Maven 是依赖管理和代码构建的标准。遵循「约定大于配置」理念。Maven 是 Java 开发工程师日常使用的工具,本篇文章简要介绍一下 Maven 的依赖树解析。 依赖树结构 在 pom.xml 的 dependencies 中声明依赖包后,Maven 将直接引入 阅读全文
posted @ 2020-12-02 16:37 Yano_nankai 阅读(1266) 评论(0) 推荐(1)
摘要: 前言 String 是我们使用最频繁的对象,使用不当会对内存、程序的性能造成影响,本篇文章全面介绍一下 Java 的 String 是如何演进的,以及使用 String 的注意事项。 下面的输出结果是什么? @Test public void testString() { String str1 = 阅读全文
posted @ 2020-12-02 16:32 Yano_nankai 阅读(182) 评论(0) 推荐(0)
摘要: 简介 推荐阅读:Jeffrey Friedl 《精通正则表达式(第3版)》,本文是该书的读书笔记。 定义 正则表达式:regular expression, regex,是用来描述或者匹配一系列符合某个句法规则的字符串的单个字符串。正则表达式这个概念最初是由Unix中的工具软件(例如sed和grep 阅读全文
posted @ 2020-12-02 16:01 Yano_nankai 阅读(721) 评论(0) 推荐(1)
摘要: 摘要:Merge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the first two lists.Java:/... 阅读全文
posted @ 2015-08-16 08:22 Yano_nankai 阅读(163) 评论(0) 推荐(0)
摘要: LeetCode上的题很不错,都短小精悍。先说说我自己。本科一直都是偏硬件,做些单片机、FPGA的东西。本科毕业设计写了个Android APP,控制外围电路(一个小车)。可以通过Android手机的重力感应和按钮来控制小车的运动。目前在读研,前段时间去XX公司实习了一段时间,自己画了块电路板,调F... 阅读全文
posted @ 2015-02-07 21:42 Yano_nankai 阅读(491) 评论(0) 推荐(0)
摘要: 题目要求:Pow(x, n)Implement pow(x,n).代码如下:class Solution {public: //采用二分法 //时间复杂度 O(logn),空间复杂度 O(1) double pow(double x, int n) { ... 阅读全文
posted @ 2015-02-07 21:26 Yano_nankai 阅读(146) 评论(0) 推荐(0)
摘要: 题目要求:AnagramsGiven an array of strings, return all groups of strings that are anagrams.Note: All inputs will be in lower-case.分析:参考网址:http://www.cnblo... 阅读全文
posted @ 2015-02-07 21:22 Yano_nankai 阅读(159) 评论(0) 推荐(0)
摘要: 题目要求:Rotate ImageYou are given annxn2D matrix representing an image.Rotate the image by 90 degrees (clockwise).Follow up:Could you do this in-place?代码... 阅读全文
posted @ 2015-02-07 21:09 Yano_nankai 阅读(146) 评论(0) 推荐(0)
摘要: 题目要求:Permutations IIGiven a collection of numbers that might contain duplicates, return all possible unique permutations.For example,[1,1,2]have the f... 阅读全文
posted @ 2015-02-07 21:04 Yano_nankai 阅读(148) 评论(0) 推荐(0)
摘要: 题目要求:Permutations(全排列)Given a collection of numbers, return all possible permutations.For example,[1,2,3]have the following permutations:[1,2,3],[1,3,... 阅读全文
posted @ 2015-02-07 21:02 Yano_nankai 阅读(208) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 16 下一页