原创 DES算法

一、DES算法原理概述 DES算法是這樣的一個算法:它使用密鑰和明文作爲參數,經過一系列複雜的運算過程,輸出明文對應的密文。首先要指出的是,明文是按照每64位一個分組來進行輸入的。輸出的對應密文也是64位。而密鑰雖說也是64位,但

原创 第八週LeetCode算法題兩道

第一道 題目名稱:17. Letter Combinations of a Phone Number 題目難度:Medium 題目描述:Given a digit string, return all possible lette

原创 第六週LeetCode算法題兩道

第一道 題目名稱:5. Longest Palindromic Substring 題目難度:Medium 題目描述:Given a string s, find the longest palindromic substring

原创 第七週LeetCode算法題一道

題目名稱:39. Combination Sum 題目難度:Medium 題目描述:Given a set of candidate numbers (C) (without duplicates) and a target nu

原创 第十週LeetCode算法題兩道

第一道 題目名稱:59. Spiral Matrix II 題目難度:Medium 題目描述:Given an integer n, generate a square matrix filled with elements fr

原创 第十二週LeetCode算法題三道

第一道 題目名稱:62. Unique Paths 題目難度:Medium 題目描述:A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in

原创 第十四周LeetCode算法題兩道

第一道 題目名稱:96. Unique Binary Search Trees 題目難度:Medium 題目描述:Given n, how many structurally unique BST’s (binary search tre

原创 系統分析作業7

題目 建模小組選擇的是”扇貝單詞”應用【業務文檔】 用例圖 背誦單詞用例的活動圖 背誦單詞用例的領域模型 狀態圖 主場景的系統順序圖 相關操作的操作協議 操作協議1:新建單詞背誦 操作協議2:選擇單詞狀態 操作協議3:發

原创 系統分析作業8

一、描述軟件架構與框架之間的區別與聯繫 軟件架構是關於軟件系統組織重要決策的集合,它描述了系統組成的結構元素及其接口的選擇,以及它們在這些元素之間的協作中指定的行爲。 軟件架構從一個比較宏觀的、抽象的角度去描述軟件系統。 而應用程序框架是

原创 第十六週LeetCode算法題兩道

第一道 題目名稱:32. Longest Valid Parentheses 題目難度:Hard 題目描述:Given a string containing just the characters ( and ), find the l

原创 系統分析作業2

1、簡答題 1)簡述瀑布模型、增量模型、螺旋模型(含原型方法)的優缺點。 瀑布模型 優點: 降低軟件開發的複雜程度,提高軟件開發過程的透明性,提高軟件開發過程的可管理性 推遲軟件實現,強調在軟件實現前必須進行分析和設計工作 以項目的階

原创 第十八週LeetCode算法題

題目名稱:72. Edit Distance 題目難度:Hard 題目描述: Given two words word1 and word2, find the minimum number of steps required to co

原创 系統分析作業5

a. 閱讀 Asg_RH 文檔,按用例構建領域模型。 按 Task2 要求,請使用工具 UMLet,截圖格式務必是 png 並控制尺寸 說明:請不要受 PCMEF 層次結構影響。你需要識別實體(E)和 中介實體(M,也稱狀態實體) 在

原创 第十九周LeetCode算法題

題目名稱:6. ZigZag Conversion 題目難度:Medium 題目描述: The string “PAYPALISHIRING” is written in a zigzag pattern on a given numbe

原创 第二十週LeetCode算法題

題目名稱:12. Integer to Roman 題目難度:Medium 題目描述: Given an integer, convert it to a roman numeral. Input is guaranteed to be