摘要: 我终于又想起了我的博客密码。。。 废话少说,遇到的问题呢是在搭建dubbo框架的过程中, 需要在一个空的项目中导入module。虽然pom文件中的依赖已经写全了, 但是依然不能解析导入的包,报错 can't resolve symbol XXX 这种问题有的可以被清除缓存后重启解决。 但是这次的问题 阅读全文
posted @ 2018-12-16 15:15 siren27 阅读(4124) 评论(0) 推荐(0) 编辑
摘要: 先看题目:Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Example 2: Note: 给出一个长度在0到1000内的数 阅读全文
posted @ 2018-08-03 10:32 siren27 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 先看题目描述: Given a string, your task is to count how many palindromic substrings in this string. The substrings with different start indexes or end index 阅读全文
posted @ 2018-07-27 21:01 siren27 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 我们先来看题目描述: Suppose you have a random list of people standing in a queue. Each person is described by a pair of integers (h, k), where h is the height 阅读全文
posted @ 2018-07-24 20:22 siren27 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 在安装kali linux时,特别是在虚拟机上安装kali linux时,我们经常遇到安装系统步骤出现错误的情况。 主要是在虚拟机中分配的硬盘空间太少了,大约需要25G左右的硬盘空间。 虽然问题解决起来很简单,但也着实费了一番功夫。 阅读全文
posted @ 2018-07-05 23:59 siren27 阅读(994) 评论(0) 推荐(0) 编辑
摘要: 主要内容来自MIT6.031 Software Construction课程及HIT 软件构造课程。 在介绍抽象类(Abstract Class)之前,我们先来谈什么是抽象方法(Abstract Method)。 抽象方法是指那种只有方法声明(Method Signature),而没有方法体,或者说 阅读全文
posted @ 2018-06-17 16:01 siren27 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 主要内容来自MIT6.031 Software Construction课程及HIT 软件构造课程。 我们先来介绍两种类型空间的值: 一、 Space of representation values (表示空间) R 表示空间由事实上实现的实体值构成。换句话说,由不同的、对抽象类型的实现的对象相应 阅读全文
posted @ 2018-06-15 19:02 siren27 阅读(2822) 评论(0) 推荐(0) 编辑
摘要: 主要内容来自MIT6.031 Software Construction课程及HIT 软件构造课程。 Snapshot Diagram是一种能表示程序运行时状态的图。使用绘Snapshot Diagram的方式对我们了解在运行时发生了什么是很有帮助的,尤其是在解决一些复杂的bug时。 Snapsho 阅读全文
posted @ 2018-06-14 17:23 siren27 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 主要内容来自MIT6.031 Software Construction课程及HIT 软件构造课程。 Java的数据类型有两种,分为基本数据类型(primitive types)及对象数据类型(object types)。例如int ,float,boolean等类型就是基本数据类型,而String 阅读全文
posted @ 2018-06-14 02:10 siren27 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 最近在写一个项目的作业,用到了python内置的财经接口。需要从matplot.finance导入quotes_historical_yahoo。但是出现了这样一个错误:提示我在matplot.finance中没有这个模块,查阅了一下资料,发现应该是quotes_historical_yahoo_o 阅读全文
posted @ 2018-04-13 22:06 siren27 阅读(1752) 评论(0) 推荐(0) 编辑