03 2018 档案

摘要:项目结构: 新建web项目:File->new->Dynamic Web Project 一、准备所需jar包1. Spring框架的jar包 spring-framework-5.0.4.RELEASE文件夹下libs目录下的所有jar包 Spring的核心容器必须依赖的common-loggin 阅读全文
posted @ 2018-03-27 15:08 zeroingToOne 阅读(280) 评论(0) 推荐(0) 编辑
摘要:1. 在项目上右键->Build path->Configure Build Path->Source下的Add Folder,如图 2. 在弹出框中,Create New Folder->填写配置文件名称->完成。如图 3. 结果如图 个人理解:其实相当于folder和source folder的 阅读全文
posted @ 2018-03-23 11:00 zeroingToOne 阅读(1810) 评论(0) 推荐(0) 编辑
摘要:Given a pattern and a string str, find if str follows the same pattern. Here follow means a full match, such that there is a bijection between a lette 阅读全文
posted @ 2018-03-20 12:54 zeroingToOne 阅读(194) 评论(0) 推荐(0) 编辑
摘要:API文档中的描述: 先看一个例子 可以看出:put方法的返回值为null或value; 调用put方法时,如果已经存在一个相同的key, 则返回的是前一个key对应的value,同时该key的新value覆盖旧value;如果是新的一个key,则返回的是null; 通过hashmap的源码可以看出 阅读全文
posted @ 2018-03-20 10:21 zeroingToOne 阅读(7489) 评论(0) 推荐(0) 编辑
摘要:在使用MyBatis的逆向工程生成代码时,一直报错java.io.FileNotFoundException: generatorConfig.xml (系统找不到指定的文件。),如图 文件结构如下: 代码如下: 尝试改变.xml的位置,或使用相对路径,但都没能解决。 后来找到一篇博客,使用绝对路径 阅读全文
posted @ 2018-03-16 21:26 zeroingToOne 阅读(2864) 评论(0) 推荐(0) 编辑
摘要:spring mvc的jar包下载:http://repo.springsource.org/libs-release-local/org/springframework/spring/我下载的5.0.4版本,5.0.4.RELEASE/下的spring-framework-5.0.4.RELEAS 阅读全文
posted @ 2018-03-16 16:49 zeroingToOne 阅读(7885) 评论(0) 推荐(2) 编辑
摘要:You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality c 阅读全文
posted @ 2018-03-15 22:17 zeroingToOne 阅读(192) 评论(0) 推荐(0) 编辑
摘要:Given two strings s and t, write a function to determine if t is an anagram of s. For example,s = "anagram", t = "nagaram", return true.s = "rat", t = 阅读全文
posted @ 2018-03-15 10:02 zeroingToOne 阅读(210) 评论(0) 推荐(0) 编辑
摘要:Implement the following operations of a queue using stacks. push(x) -- Push element x to the back of queue. pop() -- Removes the element from in front 阅读全文
posted @ 2018-03-14 22:02 zeroingToOne 阅读(153) 评论(0) 推荐(0) 编辑
摘要:Implement the following operations of a stack using queues. push(x) -- Push element x onto stack. pop() -- Removes the element on top of the stack. to 阅读全文
posted @ 2018-03-14 21:42 zeroingToOne 阅读(170) 评论(0) 推荐(0) 编辑
摘要:Given two strings s and t, determine if they are isomorphic. Two strings are isomorphic if the characters in s can be replaced to get t. All occurrenc 阅读全文
posted @ 2018-03-09 22:25 zeroingToOne 阅读(164) 评论(0) 推荐(0) 编辑
摘要:Write a function that takes an unsigned integer and returns the number of ’1' bits it has (also known as the Hamming weight). For example, the 32-bit 阅读全文
posted @ 2018-03-09 16:06 zeroingToOne 阅读(132) 评论(0) 推荐(0) 编辑
摘要:在莫烦Python教程的“Dropout 解决 overfitting”一节中,出现错误如下: InvalidArgumentError: You must feed a value for placeholder tensor 'Placeholder_1' with dtype float an 阅读全文
posted @ 2018-03-05 21:24 zeroingToOne 阅读(15292) 评论(5) 推荐(1) 编辑
摘要:1. scikit-learn所依赖的环境: python(>=2.6 or >=3.3) numpy(>=1.6.1) scipy(>=0.9) 可用conda list 查看当前所安装的包2. 有两种安装方式: (1) pip安装:pip install -U scikit-learn (2) 阅读全文
posted @ 2018-03-05 10:51 zeroingToOne 阅读(1428) 评论(0) 推荐(0) 编辑
摘要:Given an array of integers, every element appears twice except for one. Find that single one. Note:Your algorithm should have a linear runtime complex 阅读全文
posted @ 2018-03-03 13:19 zeroingToOne 阅读(114) 评论(0) 推荐(0) 编辑
摘要:You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you cl 阅读全文
posted @ 2018-03-01 21:28 zeroingToOne 阅读(175) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示