原创 [LeetCode]--Symmetric Tree
題目 Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example,
原创 [LeetCode]--Add Two Numbers
題目 You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reve
原创 [LeetCode]--Maximum Subarray
題目 Find the contiguous subarray within an array (containing at least one number) which has the largest sum.
原创 [LeetCode]--Climbing Stairs
題目 You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps.
原创 [LeetCode]--Merge k Sorted Lists
題目 Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity.
原创 [LeetCode]--Reverse Integer
題目 Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 Note: T
原创 [LeetCode]--Container With Most Water
題目 Given n non-negative integers a1, a2, ..., an, where each represents a point at coordinate (i, ai). n vert
原创 NP-complete 課後習題 Ex8.8
題目 8.8 In the EXACT 4SAT problem, the input is a set of clauses, each of which is a disjunction of exactly four
原创 [LeetCode]--Tow Sum
題目: Given an array of integers, return indices of the two numbers such that they add up to a specific target.
原创 系統分析與設計 lesson16
使用ECB實現make reservation用例的詳細設計(包含用例簡介,順序圖,類圖)1. 用例2. 順序圖3. 類圖將邏輯設計類圖映射到實際項目框架的包圖,用樹形結構表述實現的包和類4. 樹形結構
原创 個人技術報告
Final Report個人總結在學習這門課程之前,團隊開發項目的流程於我而言基本是盲區,而且淺顯地認爲一個產品的完成僅僅與代碼實現有關。這學期學習了此門課程,全程參與完成團隊作業,無論從管理還是實踐方面,都對項目開發有了系統性地認識,親
原创 系統分析與設計 HW2
1. 簡答題 - 簡述瀑布模型、增量模型、螺旋模型(含原型方法)的優缺點 瀑布模型 優點: (1)定義了軟件開發及基本流程與活動,爲項目提供按階段劃分的檢查點 (2)有利於大型軟件開發過程中人員的組織、管理
原创 系統分析與設計 HW6
1. 使用UML State Model建模對象:參考Asg_RH文檔,對 Reservation/Order 對象建模。建模要求:參考練習不能提供足夠信息幫助你對訂單對象建模,請參考現在定旅館的旅遊網站,儘可能分析圍繞訂單發生的各種情況
原创 [LeetCode]--Search a 2D Matrix II
題目 Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following propertie
原创 系統分析與設計 HW5
1. 領域建模a. 閱讀Asg_RH文檔,按用例構建領域模型 1)按 Task2 要求,請使用工具 UMLet,截圖格式務必是 png 並控制尺寸 2)說明:請不要受PCMEF層次結構影響。你需要識別實