Assignment 6CSCI 2132: Software DevelopmentDue April 1, 2019Assignments are due on the due date before 23:59. All assignments must be submitted electr ...
分类:
其他好文 时间:
2019-04-07 19:16:12
阅读次数:
117
Given two words word1 and word2, find the minimum number of operations required to convert word1 to word2. You have the following 3 operations permitt ...
分类:
其他好文 时间:
2019-04-06 15:34:06
阅读次数:
117
背景 现有一个交易系统,每次交易都会更新余额。出账扣减余额,入账增加余额。为了保证资金安全,余额发生扣减时,需要比较现有余额与扣减金额大小,若扣减金额大于现有余额,扣减余额不足,扣减失败。 余额表( 省去其他字段 )结构如下: sql CREATE TABLE ( bigint(20) NOT NU ...
分类:
其他好文 时间:
2019-04-06 00:16:03
阅读次数:
95
1. IOC的概念 控制反转IoC(Inversion of Control)是一种设计思想,而DI(依赖注入)是实现IoC的一种方法。在没有使用IOC的程序中,对象间的依赖关系是靠硬编码的方式实现的。引入IOC后对象的创建由程序自己控制的,控制反转即将对象的创建交给第三方,个人认为所谓控制反转就是 ...
分类:
编程语言 时间:
2019-04-04 13:01:05
阅读次数:
184
POM:全称:poject object model 说明:项目对象模型、maven用来管理项目的依赖、编译、文档等信息 STS: 全称:spring tool suite 说明:spring 基于eclipse 的开发工具 IOC: 全称:inversion of control 说明:控制反转 ...
分类:
其他好文 时间:
2019-04-03 17:54:13
阅读次数:
111
root用户下 进入 /etc/vimrc 在文件最后面追加如下代码: 显示行号: set nu 设置缩进: set tabstop=4 最后,保存退出。 ...
分类:
系统相关 时间:
2019-04-03 12:30:06
阅读次数:
479
<!DOCTYPE html><html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1, ...
分类:
Web程序 时间:
2019-04-02 18:37:15
阅读次数:
1276
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below. For example, given the fo ...
分类:
其他好文 时间:
2019-04-02 16:51:36
阅读次数:
145
Last login: Sat Mar 30 07:38:24 2019 from 10.0.0.3[root@vmhzpcentosdisk ~]# fdisk -l 在esxi上给虚拟机新增磁盘,后重启虚拟机; Disk /dev/sda: 1075 MB, 1075838976 bytes, ...
分类:
其他好文 时间:
2019-03-30 10:27:39
阅读次数:
155
Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) -- Push element x onto stack. pop() -- Remov ...
分类:
其他好文 时间:
2019-03-28 09:29:42
阅读次数:
142