自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(71)
  • 资源 (13)
  • 收藏
  • 关注

原创 [leetcode]50. Pow(x, n)@Java解题报告

https://leetcode.com/problems/powx-n/description/Implement pow(x, n).比较简单的题,分而治之思想package go.jacob.day730;import org.junit.Test;public class Demo3 { @Test public void tes

2017-07-30 11:04:53 572

原创 [leetcode]29. Divide Two Integers@Java解题报告

https://leetcode.com/problems/divide-two-integers/description/Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.package go

2017-07-30 10:37:57 751

原创 [leetcode]9. Palindrome Number@Java解题报告

https://leetcode.com/problems/palindrome-number/description/Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.Some hints:Could nega

2017-07-30 09:43:58 555

原创 Collections.unmodifiableMap()的理解

照常,先来看看Collections.unmodifiableMap()的API:unmodifiableSortedMappublic static SortedMap unmodifiableSortedMap(SortedMap m)返回指定有序映射的不可修改视图。此方法允许模块为用户提供对内部有序映射的“只读”访问。在返回的有序映射上执行的查询操作将“读完”指定的有序映射

2017-07-29 15:25:16 15864 13

原创 [leetcode]7. Reverse Integer@Java解题报告

https://leetcode.com/problems/reverse-integer/description/Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321click to show spoilers.Note:T

2017-07-29 12:30:46 858

原创 [leetcode]2. Add Two Numbers@Java解题报告

https://leetcode.com/problems/add-two-numbers/description/You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each o

2017-07-29 12:13:16 483

原创 [leetcode]151. Reverse Words in a String@Java解题报告

https://leetcode.com/problems/reverse-words-in-a-string/tabs/descriptionGiven an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue

2017-07-29 11:35:46 861

原创 [leetcode]126. Word LadderII@Java解题报告

https://leetcode.com/problems/word-ladder-ii/#/descriptionGiven two words (beginWord and endWord), and a dictionary's word list, find all shortest transformation sequence(s) from beginWord

2017-07-27 15:04:23 563

原创 [leetcode]127. Word Ladder@Java解题报告

https://leetcode.com/problems/word-ladder/#/descriptionGiven two words (beginWord and endWord), and a dictionary's word list, find the length of shortest transformation sequence frombegi

2017-07-26 13:04:42 1068

原创 [leetcode]125. Valid Palindrome@Java解题报告

https://leetcode.com/problems/valid-palindrome/#/descriptionGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"

2017-07-26 10:09:53 541

原创 Java中Arrays.asList()

mark一下,明天来写。

2017-07-25 23:03:38 344

原创 java复制数组的四种方法

今天在牛客遇到这样一道题:1java语言的下面几种数组复制方法中,哪个效率最高?正确答案: B   你的答案: C (错误)for 循环逐一复制System.arraycopyArray.copyOf使用clone方法

2017-07-25 20:45:19 5565 1

原创 [leetcode]76. Minimum Window Substring@Java解题报告

https://leetcode.com/problems/minimum-window-substring/#/descriptionGiven a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O

2017-07-25 20:08:03 1403

原创 [leetcode]68. Text Justification@Java解题报告

https://leetcode.com/problems/text-justification/#/descriptionGiven an array of words and a length L, format the text such that each line has exactly L characters and is fully (left an

2017-07-24 12:38:27 696

转载 Java中HashMap详解

今天照常在牛客刷题,先来看一下这道题:下面有关java hashmap的说法错误的是?正确答案: C   HashMap 的实例有两个参数影响其性能:“初始容量” 和 “加载因子”。HashMap 的实现不是同步的,意味着它不是线程安全的HashMap通过开放地址法解决哈希冲突HashMap中的key-value都是存

2017-07-24 09:49:47 820

原创 [leetcode]71. Simplify Path@Java

https://leetcode.com/problems/simplify-path/#/descriptionGiven an absolute path for a file (Unix-style), simplify it.For example,path = "/home/", => "/home"path = "/a/./b/../../c/"

2017-07-23 10:33:24 521

转载 Jquery Easyui验证组件ValidateBox使用详解

这篇文章主要为大家详细介绍了Jquery Easyui自定义下拉框组件的使用方法,具有一定的参考价值,感兴趣的小伙伴们可以参考一下本文实例为大家分享了Jquery Easyui验证组件的实现代码,供大家参考,具体内容如下加载方式Class加载JS调用加载?1234

2017-07-22 16:12:09 1615

原创 [leetcode]67. Add Binary@Java

https://leetcode.com/problems/add-binary/#/descriptionGiven two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"Return "100".package go

2017-07-22 12:15:14 374

原创 [leetcode]65. Valid Number@Java

https://leetcode.com/problems/valid-number/#/descriptionValidate if a given string is numeric.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => tr

2017-07-22 11:47:01 439

原创 [leetcode]58. Length of Last Word@Java

https://leetcode.com/problems/length-of-last-word/#/descriptionGiven a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in t

2017-07-21 11:03:54 435

原创 [leetcode]49. Group Anagrams@Java

https://leetcode.com/problems/group-anagrams/#/descriptionGiven an array of strings, group anagrams together.For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return:

2017-07-21 10:50:34 440

原创 [leetcode]43. Multiply Strings@Java

这其实是一道大数相乘问题,类似的题目我之前的博客已经发过了,今天相当于复习一下吧https://leetcode.com/problems/multiply-strings/#/descriptionGiven two non-negative integers num1 and num2 represented as strings, return the

2017-07-21 10:31:59 528

原创 [leetcode]38. Count and Say@Java

https://leetcode.com/problems/count-and-say/#/descriptionThe count-and-say sequence is the sequence of integers with the first five terms as following:1. 12. 113. 214.

2017-07-20 13:17:08 368

原创 [leetcode]30. Substring with Concatenation of All Words@Java

https://leetcode.com/problems/substring-with-concatenation-of-all-words/#/descriptionYou are given a string, s, and a list of words, words, that are all of the same length. Find all starti

2017-07-20 12:16:19 363

原创 [leetcode]28. Implement strStr()(Java)

https://leetcode.com/problems/implement-strstr/#/descriptionImplement strStr().Returns the index of the first occurrence of needle in haystack, or -1 if needle is not part of haystack.

2017-07-19 11:41:18 720

原创 [leetcode]22. Generate Parentheses(Java)

https://leetcode.com/problems/generate-parentheses/#/descriptionGiven n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given 

2017-07-19 11:04:58 406

原创 [leetcode]20. Valid Parentheses(Java)

蛮简单的一道题,但是自己写的代码和大神的还是有差距。前面是推荐解答,后面是我的加法https://leetcode.com/problems/valid-parentheses/#/descriptionGiven a string containing just the characters '(', ')', '{', '}', '[' and ']', det

2017-07-19 10:36:36 965

转载 深入理解Java中super关键字

Java中关键字 super表示的真正对象    java中的super,大家都知道是表示一个父类的引用。上次群里见到一个网友询问 super.getClass().getName()的输出问题,大部分都知道输出的是当前这个类的类名。而不是父类的名称。关于这个问题的解释很多,基本都是说getClass()是一个final方法,说这个方法都是调用超父类Object的方法。这个解释很好,也容易

2017-07-19 09:55:12 2273 2

原创 再探Java子类方法重写父类方法遵循“两同两小一大”规则

今天在牛客碰到这样一道题:class A { public A foo() { return this; }}class B extends A { public A foo() { return this; }}class C extends B{ //这样填写什么代码不会报错}选项分别是:A.public void foo(){}

2017-07-18 14:09:16 8751 6

原创 [leetcode]17. Letter Combinations of a Phone Number(Java)

https://leetcode.com/problems/letter-combinations-of-a-phone-number/#/descriptionGiven a digit string, return all possible letter combinations that the number could represent.A mapping

2017-07-18 11:57:06 647

原创 [leetcode]14. Longest Common Prefix(Java)

接下来有一段时间要开始刷leetcode中String相关的题了https://leetcode.com/problems/longest-common-prefix/#/descriptionWrite a function to find the longest common prefix string amongst an array of strings.

2017-07-18 10:04:02 657

原创 [leetcode]140. Word Break II(Java)

https://leetcode.com/problems/word-break-ii/#/descriptionGiven a non-empty string s and a dictionary wordDict containing a list of non-empty words, add spaces in s to construct a sentenc

2017-07-17 19:50:03 1151

原创 [leetcode]132. Palindrome Partitioning II(Java)

https://leetcode.com/problems/palindrome-partitioning-ii/#/descriptionGiven a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts n

2017-07-17 14:26:36 465

原创 [leetcode]13. Roman to Integer(Java)

https://leetcode.com/problems/roman-to-integer/#/descriptionGiven a roman numeral, convert it to an integer.Input is guaranteed to be within the range from 1 to 3999.pa

2017-07-16 12:18:08 460

原创 [leetcode]12. Integer to Roman(Java)

https://leetcode.com/problems/integer-to-roman/#/descriptionGiven an integer, convert it to a roman numeral.Input is guaranteed to be within the range from 1 to 3999.package go

2017-07-16 12:05:01 451

原创 JSP页面中九个内置对象和四个作用域

JSP中内置对象也叫隐含对象,就是不需要预先声明就可以在脚本代码和表达式中随意使用。而这样的内置对象在JSP中一共有九个以及四个作用域。所谓“作用域”就是“信息共享的范围”,也就是说一个信息能够在多大的范围内有效。4个JSP内置对象的作用域分别为:application、session、request、page 。JSP内置对象作用域表如下:名称作用

2017-07-15 21:21:36 2453

转载 SpringMVC关于json、xml自动转换的原理研究[附带源码分析]

原文地址:http://www.cnblogs.com/fangjian0423/p/springMVC-xml-json-convert.html目录前言现象源码分析实例讲解关于配置总结参考资料前言SpringMVC是目前主流的Web MVC框架之一。 如果有同学对它不熟悉,那么请参考它的入门blog:http://www.cnblog

2017-07-15 19:30:52 599

原创 SCM项目总结

项目总遇到的bug总结:1. 2017/7/15:在SupplierAction.java的deleteList方法中,没有加注释@RespopnseBody,导致返回数据不是json格式。$.ajax异步删除执行了error方法.

2017-07-15 19:09:13 1207

原创 [leetcode]139. Word Break(Java)

https://leetcode.com/problems/word-break/#/descriptionGiven a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a sp

2017-07-15 12:27:51 462

原创 [leetcode]123. Best Time to Buy and Sell Stock III(Java)

https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/#/descriptionSay you have an array for which the ith element is the price of a given stock on day i.Design an algorith

2017-07-15 10:46:54 329

jna-4.2.1.jar

JNA(Java Native Access )提供一组Java工具类用于在运行期动态访问系统本地库(native library:如Window的dll)而不需要编写任何Native/JNI代码。包含(jna-4.2.1.jar和jna-platform-4.2.1.jar)

2017-12-06

CGlib动态代理类所需的jar包

CGlib动态代理类jar包,一共两个jar包,模拟CGlib动态代理用得到。

2017-11-05

SpringAPI文档中文版

Spring中文版文档 Spring是一个开放源代码的设计层面框架,他解决的是业务逻辑层和其他各层的松耦合问题,因此它将面向接口的编程思想贯穿整个系统应用。Spring是于2003 年兴起的一个轻量级的Java 开发框架,由Rod Johnson创建。简单来说,Spring是一个分层的JavaSE/EEfull-stack(一站式) 轻量级开源框架。

2017-10-18

谢希仁计算机网络课件ppt

课件一共十章,与教材对应

2017-07-05

Java中使用JSON所需的所有jar包

包含了6个在java中使用JSON所需jar包

2017-06-21

WMV视频加速播放器

最近看java教程视频,很多是wmv格式的,发现一些主流的播放器(暴风等)不能加速,所以找到了这款播放器。可以完美加速wmv格式视频

2017-02-26

基于logistic混沌序列的图像加密(彩色图&灰度图)MATLAB程序

混沌系统课程大作业,MATLAB程序,可对彩色图像和灰度图像进行解密加密

2017-01-05

混沌图像加密解密技术(MATLAB程序)

个人课程大作业所用的程序,利用混沌序列对图像进行加密解密

2017-01-04

MATLAB图像相关性分析程序

混沌图像加密以后用来分析图像相邻像素的相关性。

2017-01-04

浙大掌纹识别matlab程序

模式识别的大作业

2017-01-03

BP神经网络MATLAB实现(不使用工具箱)

浙大智能控制大作业。不使用工具箱实现BP

2016-12-31

edu.stanford.cs106_1.0.0.jar

斯坦福的编程方法学的插件,放到eclipse的plugins目录下

2016-12-29

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除