- 博客(21)
- 收藏
- 关注
原创 算法分析与设计期末作业
题目题目原文Suppose there are n facilities and m customers. We wish to choose:which of the n facilities to openthe assignment of customers to facilitiesThe objective is to minimize the sum of the open...
2018-12-23 14:27:41
307
原创 算法分析与设计第十三周作业
算法分析与设计第十三周作业题目Given a string, find the length of the longest substring without repeating characters.Example 1:Input: “abcabcbb”Output: 3Explanation: The answer is “abc”, with the length of 3....
2018-12-02 22:50:55
280
原创 算法分析与设计第十二周作业
算法分析与设计第十二周作业题目Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length.Do not allocate extra space for another array, you must d...
2018-11-26 12:46:59
161
原创 算法分析与设计第十一周作业
算法分析与设计第十一周作业题目Write a function to find the longest common prefix string amongst an array of strings.If there is no common prefix, return an empty string “”.题目传送门解答class Solution {public: ...
2018-11-18 22:35:59
165
原创 算法分析与设计第十周作业
算法分析与设计第十周作业题目There are N gas stations along a circular route, where the amount of gas at station i is gas[i].You have a car with an unlimited gas tank and it costs cost[i] of gas to travel from s...
2018-11-11 23:45:00
268
原创 算法分析与设计第九周作业
算法分析与设计第九周作业题目t a lemonade stand, each lemonade costs $5.Customers are standing in a queue to buy from you, and order one at a time (in the order specified by bills).Each customer will only buy o...
2018-11-03 23:24:50
345
原创 算法分析与设计第七周作业
算法分析与设计第七周作业题目Assume you are an awesome parent and want to give your children some cookies. But, you should give each child at most one cookie. Each child i has a greed factor gi, which is the mini...
2018-10-21 22:45:53
201
原创 算法分析与设计第五周作业
算法分析与设计第五周作业题目Given two words (beginWord and endWord), and a dictionary’s word list, find all shortest transformation sequence(s) from beginWord to endWord, such that:Only one letter can be change...
2018-10-07 20:54:19
172
原创 算法分析与设计第三周作业
算法分析与设计第三周作业题目Given a n-ary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.大意:给出一个n叉树,寻找他的最大深度。最大深度...
2018-09-23 22:48:17
182
原创 算法分析与设计作业1
分治法问题Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the array is non-empty and the majority...
2018-09-09 00:55:25
732
原创 系统分析与设计Final Report
自我总结在本次课程的学习中,我收获了不少软件系统分析与设计开发的经验,也让我在开发一个系统的团队合作上有了一个明确的认识。同样我在课程作业的完成中,收获了队友挺多的帮助,我是负责部分前端的开发工作的,非常感谢负责后端的LinTheLegend同学给我api上的方便,让我在前端需要后端数据的时候可以很便捷地获取。PSP 2.1 统计表 步骤 用时% 计划 1...
2018-07-01 01:47:46
215
原创 系统分析与设计 lesson16
使用ECB实现make reservation用例的详细设计用例简介顺序图类图将逻辑设计类图映射到实际项目框架的包图。用树形结构表述实现的包和类project public(放置公共文件)static(静态文件,例如html,css,js)module (放置ECB模型文件) boundary UI.javacontrol...
2018-06-30 16:25:19
118
原创 系统分析与设计lesson 13
描述软件架构与框架之间的区别与联系软件架构:一系列相关的抽象模式,用于指导大型软件系统各个方面的设计。 软件框架:将代码放到一个我们看不到的容器中,规定架构。当我们使用的时候直接调用。 区别:软件架构不是软件,涉及到如何将软件系统分解成不同的部分、各部分之间的静态结构关系和动态交互关系等。框架是一种特殊的软件,由实际的代码构建而成。 联系:软件框架可能包含若干软件架构,并作出了一定修改和...
2018-06-08 22:57:59
191
原创 系统分析与设计lesson 9
系统分析与设计lesson 9练习文档编写选择一个你喜欢的 移动App 或 其中某业务参考 Asg_RH 文档格式 编写软件描述文档要包含一个业务的完整过程文档见GoogleTranslateApp业务描述文档建模练习建模的文档见Forest App 业务描述用例图用例活动图领域模型状态图系统顺序图...
2018-05-13 22:18:21
277
原创 系统分析与设计lesson 8
参考 Asg_RH 文档,对 Reservation/Order 对象建模研究淘宝退货流程活动图,对退货业务对象状态建模
2018-05-06 17:23:05
141
原创 系统分析与设计lesson 7
领域建模领域模型数据库建模数据库逻辑模型与领域模型的异同异:领域模型主要面向需求分析,而数据库模型更多面向实际开发。领域模型是便于系统开发的,而数据库模型是便于数据库创建以及管理的。数据库逻辑模型比领域模型更明确给出各个字段的类型,便于在数据库的创建以及管理过程中程序的编写与设计。同:都是利用图形表达软件的抽象概念,且都具体给出了各个抽象类型之间的属性关系。...
2018-04-30 00:00:15
139
原创 系统分析与设计lesson 6
用例建模Asg_RH的用例图美团的用例图其中蓝色为创新用例,红色为新的外部系统。总结在项目早期,发现创新的思路与方法在基础功能上,两者的区别并不是很大,对于用户的基础需求已经足够。然而新时期出现了更多的新特性,这一方面得益于互联网的发展以及推广,另一个方面是供应商理解用户的行为模式进而可以推测用户需求。在项目早期,以用户以及推广出发,往往最后能获得很大的成功...
2018-04-22 17:57:45
430
原创 vue框架小程序开发技术学习报告
我们需要做的是一个扫码点餐系统,从便捷性上看,基于微信小程序的前端是一个非常不错的选择。微信小程序开发的官方IDE提供了一个框架,框架和vue开发类似,方便学习。申请账号以及下载IDE要开发微信小程序,首先就是要申请账号以及下载IDE,具体步骤如下: 1.官网注册https://mp.weixin.qq.com/,并下载IDE。 2.查看官方文档并学习。注意事项(1...
2018-04-15 16:34:07
706
原创 系统分析与设计 Homework 2
系统分析与设计 Homework 2瀑布模型、增量模型、螺旋模型的优缺点瀑布模型优势:定义了软件开发基本流程与活动,有利于大型项目的人员管理分配。 劣势:存在依赖问题、容错问题以及资源调配问题。增量模型优势:人员分配灵活、可以先提供初步结果给客户,若反映良好再增加人手实现下一个增量。 劣势:并行开发构建可能不能集成、可能在开发过程中偏离主题。螺旋模型...
2018-03-22 11:09:06
184
原创 系统分析与设计 Homework 1
软件工程的定义 (1)将系统化、规范化、可度量的方法应用与软件的开发、运行和维护的过程,即将工程化应用于软件中。 (2)对(1)中所述方法的研究。——IEEE[IEE93]software crisis、COCOMO 模型 软件危机是在计算科学的早期阶段使用的术语,表现了在需要的时间编写有用和高效的计算机程序的困难。 软件危机是由于计算机能力的快速增长以及无法解决的问题的复杂性导...
2018-03-16 13:48:39
178
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人