原创 算法設計與分析課作業【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 n

原创 git-svn遷移

git-svn遷移 該文章記錄並介紹一下將svn庫遷移到git倉庫的過程。 準備工作 需要準備的東西有: SVN倉庫 安裝好git、svn、git-svn 創建一個新的git倉庫以準備之後的遷移 遷移過程 將svn工程導出

原创 前端跨域問題解決方式

使用JSONP,script和img的src標籤都是可以跨域請求內容,所以我們可以利用這個特點,將所要請求的數據寫在src中,最後加上我們數據處理的回調函數,讓服務端返回的js 中調用該函數並將數據傳入,這樣可以解決跨域。缺點是隻能發送

原创 關於a標籤下載文件的問題

自己做的本地vue項目中想用a標籤進行文件的下載,href中填寫的是服務器的API <div class="file-item" v-for="(item, index) in curTask.files" :key="index">

原创 系統分析與設計作業4

系統分析與設計作業4 1、簡答題 用例的概念 答:用例是文本形式的情節描述,用以說明某參與者使用系統以實現某些目標。 用例和場景的關係?什麼是主場景或 happy path? 答: 場景是參與者和系統之間的一系列特定的活動和交互,

原创 系統分析與設計作業3

系統分析與設計作業3 簡述瀑布模型、增量模型、螺旋模型(含原型方法),並分析優缺點 瀑布模型 瀑布模型是一個項目開發架構,開發過程是通過設計一系列階段順序展開的,從系統需求分析開始直到產品發佈和維護,每個階段都會產生循環反饋,因此,如果

原创 系統分析與設計作業2

系統分析與設計作業2 1. 簡答題 用簡短的語言給出對分析、設計的理解。 答:分析強調對問題和需求的調查研究,而不是解決方案。 設計則強調的是滿足需求的概念上的解決方案(在軟件和硬件方面),而不是其實現。 用一句話描述面向對象的分析與設計

原创 前端實習面試基本知識+CVTE頭條騰訊面經

前端實習面試基本知識 Vue Vue數據綁定原理 diff算法 路由hash/history nexttick MVVM、MVC 生命週期鉤子函數 組件間通信方式 vueX、vue-router html

原创 系統分析與設計作業1 簡答題

作業1 軟件工程的定義 答:是將系統化的、規範的、可度量的方法用於軟件的開發、運行和維護的過程,即將工程化應用於軟件開發中。 解釋導致 software crisis 本質原因、表現,述說克服軟件危機的方法 答:本質原因:計算機計算

原创 算法設計與分析課作業【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 as

原创 算法設計與分析課作業【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

原创 算法設計與分析課作業【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

原创 算法設計與分析課作業【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

原创 算法設計與分析課作業【week11】leetcode--動態規劃簡單難度題目合集

題目1--121. Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock

原创 算法設計與分析課作業【week10】leetcode--32. Longest Valid Parentheses

題目 Given a string containing just the characters '(' and ')', find the length of the longest valid (well-formed) parent