- 博客(36)
- 收藏
- 关注
原创 学习Angular2 遇到的一些问题
这是自己学习Angular2 过程中遇到的一些问题, 记录下, 方便自己以后遇到同样问题后可以看 1. 使用 'ng new my-app' 出现 npm ERR! Unexpected end of JSON input while parsing near '...outer/download/@angul'因为之前卡主不动,想翻墙试下,就中断了操作,第二次ng new 就出现这个...
2018-08-06 21:57:42
391
原创 系统分析与设计 lesson16 作业
使用 ECB 实现 make reservation 用例的详细设计(包含用例简介,顺序图,类图)将逻辑设计类图映射到实际项目框架的包图。用树形结构表述实现的包和类用例简介:这个用例可以允许用户搜索酒店、选择酒店、预定酒店以及付款, 用例图如下:顺序图:类图:包图:...
2018-06-28 10:55:48
431
原创 系统分析与设计作业8
描述软件架构与框架之间的区别与联系以你的项目为案例绘制三层架构模型图,细致到分区结合你程序的结构,从程序员角度说明三层架构给开发者带来的便利研究 VUE 与 Flux 状态管理的异同1. 描述软件架构与框架之间的区别与联系 软件架构是有关关键整体结构与组件的抽象描述,用于指导大型软件系统各个方面的设计.架构模式是特定领域常见问题的解决方案 框架是特定语言和技术的架构应用解决方案 区别:软件架...
2018-06-07 14:17:12
396
原创 系统分析与设计 lesson9作业
XX 建模练习 要求:练习文档编写选择一个你喜欢的 移动App 或 其中某业务参考 Asg_RH 文档格式 编写软件描述文档要包含一个业务的完整过程建模要求包括(用例图、XX业务或用例的活动图、XX领域模型、XX对象的状态图、XX场景的系统顺序图与操作协议)建模者答案:收集建模者答案URL建模者不能是本团队成员(至少有一个答案)给建模者给出评价与建议...
2018-05-12 23:33:28
319
原创 系统分析与设计 lesson8作业
1)使用 UML State Model建模对象: 参考 Asg_RH 文档, 对 Reservation/Order 对象建模。建模要求: 参考练习不能提供足够信息帮助你对订单对象建模,请参考现在 定旅馆 的旅游网站,尽可能分析围绕订单发生的各种情况,直到订单通过销售事件(柜台销售)结束订单。参考携程国际网站,对订单对象建模如下:2)研究淘宝退货流程活动图,对退货业务对象状态建模...
2018-05-03 21:13:20
286
原创 系统分析与设计 lesson7作业
a. 阅读 Asg_RH 文档,按用例构建领域模型。按 Task2 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸说明:请不要受 PCMEF 层次结构影响。你需要识别实体(E)和 中介实体(M,也称状态实体)在单页面应用(如 vue)中,E 一般与数据库构建有关, M 一般与 store 模式 有关在 java web 应用中,E 一般与数据库构建有关, M 一般与 sessio...
2018-04-26 21:14:11
401
原创 vscode 快捷键 在终端 和工作区 切换
1.通过cmd+shift+p,搜索keyboard看下快捷键设置2.进入到配置文件3.在搜索框中输入“focus terminal",搜索结果为蓝色,这里我已经设置过了所以可以看到“cmd+j"为快捷键4.自定义快捷键,双击“focus Terminal”该行,在弹出的输入框中,建入你想要的快捷键5.接着在搜索框中输入“focus editor"其中”focus first editor gro...
2018-04-25 11:18:18
29767
1
原创 系统分析与设计 lesson6 作业
一、用例建模a.阅读 Asg_RH 文档,绘制用例图。 按 Task1 要求,请使用工具 UMLet,截图格式务必是 png 并控制尺寸b.选择你熟悉的定旅馆在线服务系统(或移动 APP),如绘制用例图。并满足以下要求: - 对比 Asg_RH 用例图,请用色彩标注出创新用例或子用例 - 尽可能识别外部系统,并用色彩标注新的外部系统和服务c.对比两个时代、不同地区产品的用例图,总结在项...
2018-04-21 14:57:10
268
原创 工具及技术学习报告
一、工具学习:1.vs code使用vscode进行前端开发,因为他有很多很好用的插件,而且集成了终端,git。2.git & sourcetreegit的学习参考了廖雪峰老师的教程,另外发现了一个管理分支的可视化工具,sourcetree,可以便捷管理,如下图:3.react-native环境搭建参考react-native中文网教程安装好android-studio等工具。二、技术学习...
2018-04-13 20:23:19
277
原创 css 实现水平垂直居中
第一种:.parent { position: relative; background-color: bisque; width: 45em; height: 45em; display: flex; justify-content: center; align-items: center;}第二种:.parent { posi...
2018-04-11 21:47:05
154
原创 2018WPS暑期实习生web前端笔试题
2018WPS暑期实习生web前端笔试题昨天参加的现场笔试,总共六题,现将题目整理如下:1.判断如下A,B,C各输出什么var arr = [];arr['a'] = a; console.log(arr.length) // Aarr['2'] = 2;console.log(arr.length) // Barr.length = 0;console.log(arr);
2018-03-28 13:15:04
1048
原创 腾讯模拟笔试——判断正方形
2018腾讯春招web前端模拟笔试——判断正方形这几天投了腾讯的web前端岗位,昨晚做了腾讯模拟笔试,前端相关内容考的挺少的,然后有两道编程题,做了第一道。 第一道编程题是给定四个点,判断是否是正方形 第二题是动态规划的,没时间做(当然也不熟)下面说给定四个点判断正方形这题 要注意四个点给的顺序是各种可能都有的,所以不能按照某个顺序假定第一个点是哪,第二个是哪什么的,一开始我就假定都...
2018-03-24 11:14:34
1010
原创 《系统分析与设计》第二周作业
《系统分析与设计》第二周作业一、简答题1)简述瀑布模型、增量模型、螺旋模型(含原型方法)的优缺点。瀑布模型优点:1.降低软件开发的复杂程度,提高软件开发过程的透明性,提高软件开发过程的可管理性2.推迟软件实现,强调在软件实现前必须进行分析和设计工作3.以项目的阶段评审和文档控制为手段有效地对整个开发过程进行指导,保证了阶段之间的正确衔接,能够及时发现并纠正开发过程中存在的缺陷,使产品达到预期的质量要
2018-03-22 10:23:03
644
原创 《系统分析与设计》第一周作业
《系统分析与设计》第一周作业1.简答题 软件工程的定义 软件工程是(1)将系统化的、规范化的、可度量的方法应用于软件的开发、运行和维护,即将工程化方法应用于软件;(2)在(1)中所诉方法的研究。 阅读经典名著“人月神话”等资料,解释 software crisis、COCOMO 模型。 software crisis: 六十年代以来,随着计算机应用需求的驱动,...
2018-03-11 20:04:32
336
原创 Cherry Pickup 解法
Cherry Pickup 解法 第 21 周题目 难度:Hard LeetCode题号:741题目Description: In a N x N grid representing a field of cherries, each cell is one of three possible integers.0 means the cell is empty, so yo
2018-01-21 11:50:16
1184
原创 Reverse Pairs 解法
Reverse Pairs 解法 第 20 周题目 难度:Hard LeetCode题号:493题目Description: Given an array nums, we call (i, j) an important reverse pair if i < j and nums[i] > 2*nums[j]. You need to return the num
2018-01-21 10:37:22
514
原创 Redundant Connection II 解法
Redundant Connection II 解法 第 19 周题目 难度:Hard LeetCode题号:685题目Description: In this problem, a rooted tree is a directed graph such that, there is exactly one node (the root) for which all othe
2018-01-21 10:33:45
421
原创 Jump Game II 解法
Jump Game II 解法 第 18 周题目 难度:Hard LeetCode题号:45题目Description: Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array
2018-01-21 10:29:32
1127
原创 Merge k Sorted Lists 解法
Merge k Sorted Lists 解法 第 17 周题目 难度:Hard LeetCode题号:23题目Description: Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.思考 这道题目在分布式系统中非常常见,来
2018-01-21 10:27:09
174
原创 Insert Delete GetRandom O(1) - Duplicates allowed 解法
Insert Delete GetRandom O(1) - Duplicates allowed 解法 第 16 周题目 难度:Hard LeetCode题号:381题目Description: Design a data structure that supports all following operations in average O(1) time. N
2018-01-21 10:24:12
225
原创 BFS 解法
BFS 解法 第15周题目 难度:MEDIA 题目:无权图BFS实现思考 用队列保存每次要访问的节点,然后每次拿出一个,如果当前这个是目标节点,就打印出距离,然后退出;如果不是,就把该节点周围的且没有被访问过的节点压入一个新队列。当此时的队列都拿完后,对新队列进行相同的操作代码#include <iostream>#include <vector>#include <qu
2018-01-08 21:40:23
354
原创 Course Schedule III 解法
Course Schedule III 解法 第 14 周题目 难度:Hard LeetCode题号:630题目Description: There are n different online courses numbered from 1 to n. Each course has some duration(course length) t and closed on d
2017-12-18 19:45:06
342
原创 Convert Sorted List to Binary Search Tree 解法
Convert Sorted List to Binary Search Tree 解法 第 13 周题目 难度:Media LeetCode题号:109题目Description: Given a singly linked list where elements are sorted in ascending order, convert it to a height ba
2017-12-16 16:08:40
235
原创 Swap Nodes in Pairs 解法
Swap Nodes in Pairs 解法 第 12 周题目 难度:Media LeetCode题号:24题目Description: Given a linked list, swap every two adjacent nodes and return its head. For example, Given 1->2->3->4, you should
2017-12-14 10:27:02
142
原创 Letter Combinations of a Phone Number 解法
Letter Combinations of a Phone Number 解法 第11周题目 难度:Media LeetCode题号:17题目Description: Given a digit string, return all possible letter combinations that the number could represent. A map
2017-12-13 17:30:23
301
原创 最小和 解法
最小和 解法 第十周题目 难度:Media Sicily题号:期中考1005题目Description: 从数列A[0], A[1], A[2], …, A[N-1]中选若干个数,要求对于每个i(0<=i< N-1),A[i]和A[i+1]至少选一个数,求能选出的最小和. 1 <= N <= 100000, 1 <= A[i] <= 1000 请为下面的So
2017-12-08 10:02:49
163
原创 最近的0 解法
最近的0 解法 第九周题目 难度:Hard Sicily题号:期中考1003题目Description: 输入一个N*M的01矩阵A,对矩阵的每个位置,求至少经过多少步可以到达一个0. 每一步可以往上下左右走一格. 请为下面的Solution类实现解决这一问题的函数nearestZero,函数参数A为给出的01矩阵,A的行数和列数均不大于100. 函数的返回值是问题的
2017-12-07 11:56:23
237
原创 Merge Two Binary Trees 解法
Merge Two Binary Trees 解法 第八周题目 难度:Easy LeetCode题号:617题目Description: Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are over
2017-12-05 20:24:25
243
原创 ZigZag Conversion 解法
ZigZag Conversion 解法 第四周题目 难度:Media LeetCode题号:6题目Description: The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this p
2017-10-30 16:27:12
314
原创 Add Two Numbers 解法
Add Two Numbers 解法 第一周题目 难度:Media LeetCode题号:2题目Description: You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order and each
2017-10-30 15:34:42
187
原创 Split Array into Consecutive Subsequences 解法
Split Array into Consecutive Subsequences 解法 第七周题目 难度:Media LeetCode题号:659题目Description: You are given an integer array sorted in ascending order (may contain duplicates), you need to split
2017-10-26 12:12:30
341
原创 Longest Palindromic Substring 解法
Longest Palindromic Substring 解法 第三周题目 难度:Media LeetCode题号:5题目Description: Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.
2017-09-21 11:21:58
157
原创 Longest Substring Without Repeating Characters 解法
Longest Substring Without Repeating Characters 解法 第二周题目 难度:Media LeetCode题号:3题目Description: Given a string, find the length of the longest substring without repeating characters. Exampl
2017-09-16 11:29:57
178
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人