自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(24)
  • 收藏
  • 关注

原创 git-svn迁移

git-svn迁移该文章记录并介绍一下将svn库迁移到git仓库的过程。准备工作需要准备的东西有: SVN仓库 安装好git、svn、git-svn 创建一个新的git仓库以准备之后的迁移 迁移过程将svn工程导出为git工程要想将SVN工程导出为git工程,使用git svn clone的命令即可,不过在使用这条命令前,我们要注意一下几个参数...

2019-06-27 11:03:45 975

原创 前端跨域问题解决方式

使用JSONP,script和img的src标签都是可以跨域请求内容,所以我们可以利用这个特点,将所要请求的数据写在src中,最后加上我们数据处理的回调函数,让服务端返回的js 中调用该函数并将数据传入,这样可以解决跨域。缺点是只能发送GET请求,因为本质上script加载资源就是GET。 iframe,iframe也有src标签,可以用来实现跨域请求,不过要注意的是,iframe的...

2019-06-27 10:56:57 237

原创 关于a标签下载文件的问题

自己做的本地vue项目中想用a标签进行文件的下载,href中填写的是服务器的API<div class="file-item" v-for="(item, index) in curTask.files" :key="index"> <a class="file-name" :href="`/api/task/${curTask.id}/files/${item}`"...

2019-06-25 22:53:58 2138

原创 系统分析与设计作业5

使用UMLet建模:1、根据订旅馆建模文档: 绘制用例图模型(到子用例) 给出 make reservation 用例的活动图 2、根据课程练习“投递员使用投递箱给收件人快递包裹”的业务场景 分别用多泳道图建模三个场景的业务过程 1.2.3.根据上述流程,给出快递柜系统最终的用例图模型 ...

2019-05-25 10:27:07 126

原创 系统分析与设计作业4

系统分析与设计作业41、简答题 用例的概念 答:用例是文本形式的情节描述,用以说明某参与者使用系统以实现某些目标。 用例和场景的关系?什么是主场景或 happy path? 答: 场景是参与者和系统之间的一系列特定的活动和交互,是用例实例。用例是一组相关的成功和失败常见集合,用来描述参与者如何使用系统来实现其目标。 主场景对应系统的主要的交互,通...

2019-05-23 12:00:03 203

原创 系统分析与设计作业3

系统分析与设计作业3简述瀑布模型、增量模型、螺旋模型(含原型方法),并分析优缺点 瀑布模型 瀑布模型是一个项目开发架构,开发过程是通过设计一系列阶段顺序展开的,从系统需求分析开始直到产品发布和维护,每个阶段都会产生循环反馈,因此,如果有信息未被覆盖或者发现了问题,那么最好 “返回”上一个阶段并进行适当的修改,项目开发进程从一个阶段“流动”到下一个阶段,这也是瀑布模型名称的由来。包括软...

2019-04-18 00:52:34 162

原创 系统分析与设计作业2

系统分析与设计作业21. 简答题用简短的语言给出对分析、设计的理解。答:分析强调对问题和需求的调查研究,而不是解决方案。设计则强调的是满足需求的概念上的解决方案(在软件和硬件方面),而不是其实现。用一句话描述面向对象的分析与设计的优势。答:面向对象的分析和设计更加符合人类的思维,易于编程,通过对对象进行封装,有助于软件的维护和复用。简述 UML(统一建模语言)的作用。考...

2019-04-12 22:58:45 105

原创 前端实习面试基本知识+CVTE头条腾讯面经

前端实习面试基本知识Vue Vue数据绑定原理 diff算法 路由hash/history nexttick MVVM、MVC 生命周期钩子函数 组件间通信方式 vueX、vue-router html !DOCTYPE Html – 标准模式/怪异模式 Meta字段常见属性作用 Scri...

2019-04-01 20:14:01 251

原创 系统分析与设计作业1 简答题

作业1 软件工程的定义 答:是将系统化的、规范的、可度量的方法用于软件的开发、运行和维护的过程,即将工程化应用于软件开发中。 解释导致 software crisis 本质原因、表现,述说克服软件危机的方法 答:本质原因:计算机计算能力的提高,超过了程序员有效利用这些能力的能力。 表现: 项目运行超出预算。 项目运行时间过长。 ...

2019-03-15 23:11:49 621

原创 算法设计与分析课作业【week15-16】Capacitated Facility Location Problem

题目Suppose there are n facilities and m customers. We wish to choose:(1) which of the n facilities to open(2) the assignment of customers to facilitiesThe objective is to minimize the sum of the ...

2018-12-23 16:30:26 155

原创 算法设计与分析课作业【week14】leetcode--45. Jump Game2

题目Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Your goal i...

2018-12-09 16:27:49 123

原创 算法设计与分析课作业【week13】leetcode--55. Jump Game

题目Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximum jump length at that position.Determine i...

2018-12-02 22:53:02 103

原创 算法设计与分析课作业【week12】leetcode--338. Counting Bits

题目Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and return them as an array.Example 1:Input: 2...

2018-11-19 21:42:19 143

原创 算法设计与分析课作业【week11】leetcode--动态规划简单难度题目合集

题目1--121. Best Time to Buy and Sell StockSay you have an array for which the ith element is the price of a given stock on day i.If you were only permitted to complete at most one transaction (i.e....

2018-11-17 23:43:08 230

原创 算法设计与分析课作业【week10】leetcode--32. Longest Valid Parentheses

题目Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parentheses substring.Example 1:Input: "(()"Output: 2Explanation: The longest v...

2018-11-11 19:09:35 117

原创 算法设计与分析课作业【week9】leetcode--334. Increasing Triplet Subsequence

题目Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array.Formally the function should:Return true if there exists i, j, k such that arr[i] &lt; ...

2018-10-30 15:09:33 99

原创 算法设计与分析课作业【week8】leetcode--179. Largest Number

题目Given a list of non negative integers, arrange them such that they form the largest number.Example 1:Input: [10,2]Output: "210"Example 2:Input: [3,30,34,5,9]Output: "9534330"Note: T...

2018-10-28 18:56:44 141

原创 算法设计与分析课作业【week7】leetcode--151. Reverse Words in a String

题目Given an input string, reverse the string word by word.Example:  Input: "the sky is blue",Output: "blue is sky the".Note:A word is defined as a sequence of non-space characters. Input s...

2018-10-20 20:32:19 83

原创 算法设计与分析课作业【week6】leetcode--8. String to Integer (atoi)

题目Implement atoi which converts a string to an integer.The function first discards as many whitespace characters as necessary until the first non-whitespace character is found. Then, starting from...

2018-10-13 19:39:53 84

原创 算法设计与分析课作业【week5】leetcode--190. Reverse Bits

题目Reverse bits of a given 32 bits unsigned integer.Example:Input: 43261596Output: 964176192Explanation: 43261596 represented in binary as 00000010100101000001111010011100,   retur...

2018-10-07 08:18:08 104

原创 算法设计与分析课作业【week4】leetode--19. Remove Nth Node From End of List

题目Given a linked list, remove the n-th node from the end of list and return its head.Example:Given linked list: 1-&gt;2-&gt;3-&gt;4-&gt;5, and n = 2.After removing the second node from the en...

2018-09-29 15:01:31 119

原创 算法设计与分析课作业【week3】leetode--105. Construct Binary Tree from Preorder and Inorder Traversal

题目Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.For example, givenpreorder = [3,9,20,15,7]inorder = ...

2018-09-22 20:13:58 293

原创 算法设计与分析课作业【week2】Add Two Numbers

题目You are given two linked non-empty lists representing two non-negative integers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two numbers and retu...

2018-09-16 15:35:37 95

原创 算法设计与分析课作业【week1】 Longest Substring Without Repeating Characters

题目Given a string, find the length of the longest substring without repeating characters.Example 1:Input: "abcabcbb"Output: 3 Explanation: The answer is "abc", which the length is 3.Example ...

2018-09-09 16:50:56 101

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除